From d4e0727e4d3e17cf2877f7411b10fce1325c620a Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 21 Dec 2007 20:19:23 -0500 Subject: BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration. --- Tests/BuildDepends/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt index 90b6b92..a56e944 100644 --- a/Tests/BuildDepends/CMakeLists.txt +++ b/Tests/BuildDepends/CMakeLists.txt @@ -6,6 +6,11 @@ # and source files for the test project. project(BuildDepends) +# This entire test takes place during the initial +# configure step. It should not run again when the +# project is built. +set(CMAKE_SUPPRESS_REGENERATION 1) + file(MAKE_DIRECTORY ${BuildDepends_BINARY_DIR}/Project) message("Creating Project/foo.cxx") write_file(${BuildDepends_BINARY_DIR}/Project/foo.cxx -- cgit v0.12