BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration.

This commit is contained in:
Brad King 2007-12-21 20:19:23 -05:00
parent e23348c5a6
commit d4e0727e4d
1 changed files with 5 additions and 0 deletions

View File

@ -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