summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake')
-rw-r--r--Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake b/Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake
new file mode 100644
index 0000000..df2a888
--- /dev/null
+++ b/Tests/RunCMake/CMP0069/CMP0069-NEW-generator.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0069 NEW)
+
+set(_CMAKE_IPO_SUPPORTED_BY_CMAKE YES)
+set(_CMAKE_IPO_MAY_BE_SUPPORTED_BY_COMPILER YES)
+
+add_executable(foo main.cpp)
+set_target_properties(foo PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)