We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 984fe0e commit 8dff030Copy full SHA for 8dff030
tests/src/analysis/CMakeLists.txt
@@ -59,7 +59,10 @@ MACRO (ADD_QGIS_TEST testname testsrc)
59
ADD_CUSTOM_TARGET(qgis_${testname}moc ALL DEPENDS ${qgis_${testname}_MOC_SRCS})
60
ADD_EXECUTABLE(qgis_${testname} ${qgis_${testname}_SRCS})
61
ADD_DEPENDENCIES(qgis_${testname} qgis_${testname}moc)
62
- TARGET_LINK_LIBRARIES(qgis_${testname} ${QT_LIBRARIES} qgis_analysis)
+ TARGET_LINK_LIBRARIES(qgis_${testname}
63
+ ${QT_QTCORE_LIBRARY}
64
+ ${QT_QTTEST_LIBRARY}
65
+ qgis_analysis)
66
ADD_TEST(qgis_${testname} ${CMAKE_CURRENT_BINARY_DIR}/../../../output/bin/qgis_${testname})
67
#SET_TARGET_PROPERTIES(qgis_${testname} PROPERTIES
68
# INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${QGIS_LIB_DIR}
0 commit comments