diff options
Diffstat (limited to 'Tests/LoadCommand/CMakeLists.txt')
-rw-r--r-- | Tests/LoadCommand/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt index 411d439..23a52a8 100644 --- a/Tests/LoadCommand/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeLists.txt @@ -51,7 +51,11 @@ IF (COMPILE_OK) ) # if the command loaded, execute the command IF (COMMAND CMAKE_TEST_COMMAND) - CMAKE_TEST_COMMAND() + CMAKE_TEST_COMMAND( + "${LoadedCommand_SOURCE_DIR}/LoadedCommand.cxx" + "${LoadedCommand_BINARY_DIR}/LoadedCommand2.cxx" + "${LoadedCommand_BINARY_DIR}/LoadedCommand3.cxx" + ) ENDIF (COMMAND CMAKE_TEST_COMMAND) ELSE (COMPILE_OK) MESSAGE("failed to compile CMAKE_LOADED_COMMANDS") |