Skip to content

Commit 9ebf1fe

Browse files
committed
add OS X specific lib to app tests, hopefully fixes #8577
1 parent 38d960e commit 9ebf1fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/src/app/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ MACRO (ADD_QGIS_TEST testname testsrc)
7878
ADD_DEFINITIONS(-DQWT_DLL)
7979
TARGET_LINK_LIBRARIES(qgis_${testname} DbgHelp)
8080
ENDIF(WIN32)
81+
IF (APPLE)
82+
TARGET_LINK_LIBRARIES(qgis_${testname} ${APP_SERVICES_LIBRARY} )
83+
ENDIF(APPLE)
8184
ADD_TEST(qgis_${testname} ${CMAKE_CURRENT_BINARY_DIR}/../../../output/bin/qgis_${testname})
8285
#SET_TARGET_PROPERTIES(qgis_${testname} PROPERTIES
8386
# INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${QGIS_LIB_DIR}

0 commit comments

Comments
 (0)