浏览代码

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

Brad King 18 年之前
父节点
当前提交
d4e0727e4d
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Tests/BuildDepends/CMakeLists.txt

+ 5 - 0
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