Add warning message if QtTest could not be found.
This commit is contained in:
parent
16ed15ee5f
commit
2da20ff2ef
@ -19,6 +19,10 @@ ENDMACRO(CREATE_TEST)
|
|||||||
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtTest REQUIRED)
|
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtTest REQUIRED)
|
||||||
INCLUDE(${QT_USE_FILE})
|
INCLUDE(${QT_USE_FILE})
|
||||||
|
|
||||||
|
IF(NOT QT_QTTEST_FOUND)
|
||||||
|
MESSAGE(STATUS "QtTest not found. Either install it or disable tests by setting BUILD_TESTING to OFF")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${PolyVox_SOURCE_DIR}/PolyVoxCore/include ${CMAKE_CURRENT_BINARY_DIR})
|
INCLUDE_DIRECTORIES(${PolyVox_SOURCE_DIR}/PolyVoxCore/include ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
# Array tests
|
# Array tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user