Disable tests for CMake <2.8.8
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
IF(CMAKE_MAJOR_VERSION LESS 2 OR
|
||||
CMAKE_MINOR_VERSION LESS 8 OR
|
||||
CMAKE_PATCH_VERSION LESS 8)
|
||||
MESSAGE("-- Unit tests are only available in CMake >=2.8.8. You have ${CMAKE_VERSION}")
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}")
|
||||
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
|
||||
|
||||
Reference in New Issue
Block a user