diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-04-12 13:35:40 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-04-12 13:35:40 (GMT) |
commit | f33c633c400fd053c8cd8575717f2eea8c73b16e (patch) | |
tree | d8cdab7f9e4784a1a64d0b331b335eef0d085bba /Tests/OutOfSource | |
parent | 02ed1e61d9320c95b9e66cd28f29e4b51529cf8b (diff) | |
download | CMake-f33c633c400fd053c8cd8575717f2eea8c73b16e.zip CMake-f33c633c400fd053c8cd8575717f2eea8c73b16e.tar.gz CMake-f33c633c400fd053c8cd8575717f2eea8c73b16e.tar.bz2 |
ENH: also test for correct Proj dir settings
Diffstat (limited to 'Tests/OutOfSource')
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt b/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt index 15467c9..f3d3785 100644 --- a/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt +++ b/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt @@ -1 +1,4 @@ -ADD_EXECUTABLE (simple simple.cxx) +IF ("${PROJECT_SOURCE_DIR}" STREQUAL "${ANOTHER_PROJ_SOURCE_DIR}") + ADD_EXECUTABLE (simple simple.cxx) +ENDIF ("${PROJECT_SOURCE_DIR}" STREQUAL "${ANOTHER_PROJ_SOURCE_DIR}") + |