summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake')
-rw-r--r--Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake b/Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake
new file mode 100644
index 0000000..dc0fa09
--- /dev/null
+++ b/Tests/RunCMake/CheckIPOSupported/not-supported-by-generator.cmake
@@ -0,0 +1,6 @@
+project(${RunCMake_TEST} LANGUAGES C)
+
+set(_CMAKE_IPO_SUPPORTED_BY_CMAKE YES)
+set(_CMAKE_IPO_MAY_BE_SUPPORTED_BY_COMPILER YES)
+
+check_ipo_supported()