summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/CMakeLists.txt
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-09-20 16:50:27 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-09-20 16:50:27 (GMT)
commit8607e8008bf3ec037bb7060a9dc5e229e02b8428 (patch)
treee9b3db4f5aeeabe261c6491b221126e76def4f55 /Tests/LoadCommandOneConfig/CMakeLists.txt
parent2e50727eca4aa2dc06aeda9f5f28cbfa56cb98ca (diff)
downloadCMake-8607e8008bf3ec037bb7060a9dc5e229e02b8428.zip
CMake-8607e8008bf3ec037bb7060a9dc5e229e02b8428.tar.gz
CMake-8607e8008bf3ec037bb7060a9dc5e229e02b8428.tar.bz2
ENH: increase coverage in loaded commands
Diffstat (limited to 'Tests/LoadCommandOneConfig/CMakeLists.txt')
-rw-r--r--Tests/LoadCommandOneConfig/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/LoadCommandOneConfig/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeLists.txt
index 6c1eb45..411d439 100644
--- a/Tests/LoadCommandOneConfig/CMakeLists.txt
+++ b/Tests/LoadCommandOneConfig/CMakeLists.txt
@@ -58,8 +58,7 @@ ELSE (COMPILE_OK)
ENDIF (COMPILE_OK)
# TEST_DEF is set by the loaded command cmTestCommand.c
-IF (TEST_DEF AND SOME_CACHE_VARIABLE)
+IF (TEST_DEF AND SOME_CACHE_VARIABLE AND TEST_EXEC)
ADD_DEFINITIONS(-DCMAKE_IS_FUN)
-ENDIF (TEST_DEF AND SOME_CACHE_VARIABLE)
+ENDIF (TEST_DEF AND SOME_CACHE_VARIABLE AND TEST_EXEC)
-ADD_EXECUTABLE (LoadedCommand LoadedCommand.cxx)