BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration.
This commit is contained in:
parent
e23348c5a6
commit
d4e0727e4d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue