Make sure QtTest gets bundled on Mac, if ENABLE_TESTS is set

- Was configured, but wan't being triggered
This commit is contained in:
Larry Shaffer 2013-02-01 12:46:36 -07:00
parent aae400ecf1
commit 4889d82411
2 changed files with 4 additions and 1 deletions

View File

@ -40,3 +40,6 @@ SET (WITH_GLOBE "@WITH_GLOBE@")
SET (WITH_GRASS "@WITH_GRASS@")
SET (WITH_MAPSERVER "@WITH_MAPSERVER@")
SET (WITH_POSTGRESQL "@WITH_POSTGRESQL@")
# tests
SET (ENABLE_TESTS "@ENABLE_TESTS@")

View File

@ -33,7 +33,7 @@ IF (@QSCI_FOUND@)
ENDIF (@QSCI_FOUND@)
# for tests
IF (ENABLE_TESTS)
IF (@ENABLE_TESTS@)
SET (QTLISTQG ${QTLISTQG} QtTest)
SET (PYQTLIST ${PYQTLIST} QtTest)
ENDIF ()