Skip to content

Commit

Permalink
Merge pull request #1274 from simonsonc/explicit-link
Browse files Browse the repository at this point in the history
Be explicit with Qt link libraries
  • Loading branch information
wonder-sk committed Mar 28, 2014
2 parents 2b458e8 + 8dff030 commit 4ff930e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/analysis/CMakeLists.txt
Expand Up @@ -59,7 +59,10 @@ MACRO (ADD_QGIS_TEST testname testsrc)
ADD_CUSTOM_TARGET(qgis_${testname}moc ALL DEPENDS ${qgis_${testname}_MOC_SRCS})
ADD_EXECUTABLE(qgis_${testname} ${qgis_${testname}_SRCS})
ADD_DEPENDENCIES(qgis_${testname} qgis_${testname}moc)
TARGET_LINK_LIBRARIES(qgis_${testname} ${QT_LIBRARIES} qgis_analysis)
TARGET_LINK_LIBRARIES(qgis_${testname}
${QT_QTCORE_LIBRARY}
${QT_QTTEST_LIBRARY}
qgis_analysis)
ADD_TEST(qgis_${testname} ${CMAKE_CURRENT_BINARY_DIR}/../../../output/bin/qgis_${testname})
#SET_TARGET_PROPERTIES(qgis_${testname} PROPERTIES
# INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${QGIS_LIB_DIR}
Expand Down

0 comments on commit 4ff930e

Please sign in to comment.