diff options
Diffstat (limited to 'Tests/ComplexRelativePaths/CMakeLists.txt')
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index e6444ab..aa376e5 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -49,6 +49,15 @@ LOAD_CACHE(${Complex_SOURCE_DIR}/Cache INCLUDE_INTERNALS CACHE_TEST_VAR_INTERNAL) +LOAD_CACHE(${Complex_BINARY_DIR} READ_WITH_PREFIX foo CACHE_TEST_VAR_INTERNAL) +IF(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + MESSAGE("Load cache worked") +ELSE(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + MESSAGE(FATAL_ERROR "Load cache with prefix failed") +ENDIF(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + + + # # Specify include and lib dirs # (BEFORE is for coverage) |