diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-11-13 08:50:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-13 15:12:17 (GMT) |
commit | 15610bb5b16a4f39202a84a6f6ef1a22b17170df (patch) | |
tree | 68b5a742022fed31c873a5906c1769167acb26a1 /Tests/CMakeTests | |
parent | 706aab0418f40e9816be5270e5b4e89321411e2d (diff) | |
download | CMake-15610bb5b16a4f39202a84a6f6ef1a22b17170df.zip CMake-15610bb5b16a4f39202a84a6f6ef1a22b17170df.tar.gz CMake-15610bb5b16a4f39202a84a6f6ef1a22b17170df.tar.bz2 |
Drop use of configure_file IMMEDIATE option
Since commit 7d47c693 (Drop compatibility with CMake < 2.4, 2013-10-08)
we no longer need to use the configure_file IMMEDIATE option to support
compatibility modes less than 2.0.
Diffstat (limited to 'Tests/CMakeTests')
-rw-r--r-- | Tests/CMakeTests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt index 4c49c6a..41714f6 100644 --- a/Tests/CMakeTests/CMakeLists.txt +++ b/Tests/CMakeTests/CMakeLists.txt @@ -3,7 +3,7 @@ set(CMAKE_EXECUTABLE "${CMake_BIN_DIR}/cmake") macro(AddCMakeTest TestName PreArgs) configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${TestName}Test.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" @ONLY IMMEDIATE) + "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" @ONLY) add_test(NAME CMake.${TestName} COMMAND ${CMAKE_EXECUTABLE} ${PreArgs} -P "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" ${ARGN}) |