--- src/qmt_rgb2pct/CMakeLists.txt.orig	2021-05-24 09:18:08 UTC
+++ src/qmt_rgb2pct/CMakeLists.txt
@@ -92,7 +92,7 @@ target_compile_definitions(${APPLICATION_NAME} PUBLIC
 target_link_libraries(${APPLICATION_NAME}
     Qt5::Core
     ${GDAL_LIBRARIES}
-    ${PROJ_LIBRARIES}
+    ${PROJ_LDFLAGS} ${PROJ_LIBRARIES}
 )
 
 if(APPLE)
