From f33c633c400fd053c8cd8575717f2eea8c73b16e Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 12 Apr 2005 09:35:40 -0400 Subject: ENH: also test for correct Proj dir settings --- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}") + -- cgit v0.12