Skip to content

Commit

Permalink
Make sure QtTest gets bundled on Mac, if ENABLE_TESTS is set
Browse files Browse the repository at this point in the history
- Was configured, but wan't being triggered
  • Loading branch information
dakcarto committed Feb 1, 2013
1 parent aae400e commit 4889d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mac/cmake/0vars.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@")
2 changes: 1 addition & 1 deletion mac/cmake/1qt.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 4889d82

Please sign in to comment.