Skip to content
Permalink
Browse files
Make sure QtTest gets bundled on Mac, if ENABLE_TESTS is set
- Was configured, but wan't being triggered
  • Loading branch information
dakcarto committed Feb 1, 2013
1 parent aae400e commit 4889d8241174627124dabe0cb4877227651096e9
Showing with 4 additions and 1 deletion.
  1. +3 −0 mac/cmake/0vars.cmake.in
  2. +1 −1 mac/cmake/1qt.cmake.in
@@ -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@")
@@ -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 ()

0 comments on commit 4889d82

Please sign in to comment.