diff options
Diffstat (limited to 'Tests/ComplexRelativePaths/VarTests.cmake')
-rw-r--r-- | Tests/ComplexRelativePaths/VarTests.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/VarTests.cmake b/Tests/ComplexRelativePaths/VarTests.cmake index 477fab9..c146d1b 100644 --- a/Tests/ComplexRelativePaths/VarTests.cmake +++ b/Tests/ComplexRelativePaths/VarTests.cmake @@ -95,6 +95,14 @@ ELSE(EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_EXISTS2) ENDIF (EXISTS ${Complex_SOURCE_DIR}/roquefort.txt) +IF (IS_DIRECTORY ${Complex_SOURCE_DIR}) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_IS_DIRECTORY) +ENDIF (IS_DIRECTORY ${Complex_SOURCE_DIR}) + +IF (NOT IS_DIRECTORY ${Complex_SOURCE_DIR}/VarTests.cmake) + ADD_DEFINITIONS(-DSHOULD_BE_DEFINED_IS_DIRECTORY2) +ENDIF (NOT IS_DIRECTORY ${Complex_SOURCE_DIR}/VarTests.cmake) + SET (SNUM1_VAR "1") SET (SNUM2_VAR "2") SET (SNUM3_VAR "1") |