summaryrefslogtreecommitdiffstats
path: root/Tests/OutOfSource
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-04-12 13:35:40 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-04-12 13:35:40 (GMT)
commitf33c633c400fd053c8cd8575717f2eea8c73b16e (patch)
treed8cdab7f9e4784a1a64d0b331b335eef0d085bba /Tests/OutOfSource
parent02ed1e61d9320c95b9e66cd28f29e4b51529cf8b (diff)
downloadCMake-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.txt5
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}")
+