Skip to content

Commit 77a280e

Browse files
committedJan 21, 2015
fix building of app test with internal qwtpolar
1 parent f155041 commit 77a280e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎tests/src/app/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ MACRO (ADD_QGIS_TEST testname testsrc)
6767
${GEOS_LIBRARY}
6868
${GDAL_LIBRARY}
6969
${QWT_LIBRARY}
70-
${QWTPOLAR_LIBRARY}
7170
qgis_core
7271
qgis_gui
7372
qgis_analysis
7473
qgis_app)
74+
IF(WITH_QWTPOLAR AND NOT WITH_INTERNAL_QWTPOLAR)
75+
TARGET_LINK_LIBRARIES(qgis_${testname} ${QWTPOLAR_LIBRARY})
76+
ENDIF(WITH_QWTPOLAR AND NOT WITH_INTERNAL_QWTPOLAR)
7577
IF(WIN32)
7678
ADD_DEFINITIONS(-DQWT_DLL)
7779
TARGET_LINK_LIBRARIES(qgis_${testname} DbgHelp)

0 commit comments

Comments
 (0)
Please sign in to comment.