diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-09-20 16:50:27 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-09-20 16:50:27 (GMT) |
commit | 8607e8008bf3ec037bb7060a9dc5e229e02b8428 (patch) | |
tree | e9b3db4f5aeeabe261c6491b221126e76def4f55 /Tests/LoadCommandOneConfig/CMakeLists.txt | |
parent | 2e50727eca4aa2dc06aeda9f5f28cbfa56cb98ca (diff) | |
download | CMake-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.txt | 5 |
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) |