diff options
Diffstat (limited to 'Tests/ComplexOneConfig/CMakeLists.txt')
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index fa3ee417d0..5a28e56793 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -4,6 +4,15 @@ SET(CMAKE_BACKWARDS_COMPATIBILITY 1.4) PROJECT (Complex) +# Choose whether to test CMakeLib. +SET(COMPLEX_TEST_CMAKELIB 1) +IF(CMAKE_TEST_DIFFERENT_GENERATOR) + SET(COMPLEX_TEST_CMAKELIB 0) +ENDIF(CMAKE_TEST_DIFFERENT_GENERATOR) +IF(CMAKE_TEST_SYSTEM_LIBRARIES) + SET(COMPLEX_TEST_CMAKELIB 0) +ENDIF(CMAKE_TEST_SYSTEM_LIBRARIES) + # # Define a macro # |