--- src/qmt_rgb2pct/CMakeLists.txt.orig	2025-07-04 12:38:57 UTC
+++ src/qmt_rgb2pct/CMakeLists.txt
@@ -100,7 +100,7 @@ target_link_libraries(${APPLICATION_NAME}
 target_link_libraries(${APPLICATION_NAME}
     Qt6::Core
     ${GDAL_LIBRARIES}
-    ${PROJ_LIBRARIES}
+    ${PROJ_LDFLAGS} ${PROJ_LIBRARIES}
 )
 
 if(APPLE)
