diff options
author | Brad King <brad.king@kitware.com> | 2005-04-28 15:47:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-28 15:47:48 (GMT) |
commit | 3a81832bb3ae22f6251ab810fbd17a7ec57ff9bb (patch) | |
tree | 09303e19965f29c5ba50621df91fce202004a99e /Tests | |
parent | 91c254d7087421595c1ddef345e7a704dba70988 (diff) | |
download | CMake-3a81832bb3ae22f6251ab810fbd17a7ec57ff9bb.zip CMake-3a81832bb3ae22f6251ab810fbd17a7ec57ff9bb.tar.gz CMake-3a81832bb3ae22f6251ab810fbd17a7ec57ff9bb.tar.bz2 |
BUG: Avoid infinite loop during installation.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 2680ddd..02c5c3c 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -4,6 +4,10 @@ SET(CMAKE_VERBOSE_MAKEFILE 1) SET(EXECUTABLE_OUTPUT_PATH "${TestSimpleInstall_BINARY_DIR}/ExecPath") SET(LIBRARY_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}") +# Skip the dependency that causes a build when installing. This +# avoids infinite loops when the post-build rule below installs. +SET(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1) + SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix") SET(EXTRA_INSTALL_FLAGS) diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index 2680ddd..02c5c3c 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -4,6 +4,10 @@ SET(CMAKE_VERBOSE_MAKEFILE 1) SET(EXECUTABLE_OUTPUT_PATH "${TestSimpleInstall_BINARY_DIR}/ExecPath") SET(LIBRARY_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}") +# Skip the dependency that causes a build when installing. This +# avoids infinite loops when the post-build rule below installs. +SET(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1) + SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix") SET(EXTRA_INSTALL_FLAGS) |