Skip to content

Commit fc787a6

Browse files
committed
Fix Mac error when building qgis_app
1 parent ef2e10b commit fc787a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,10 @@ TARGET_LINK_LIBRARIES(qgis_app
481481
qgis_analysis
482482
)
483483

484+
IF (APPLE)
485+
TARGET_LINK_LIBRARIES(qgis_app ${APP_SERVICES_LIBRARY})
486+
ENDIF(APPLE)
487+
484488
if(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
485489
SET_TARGET_PROPERTIES(qgis_app PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
486490
ENDIF(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)

0 commit comments

Comments
 (0)