diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-03-11 11:56:00 (GMT) |
---|---|---|
committer | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-03-21 14:38:53 (GMT) |
commit | 6c8326749fccd37afd5343d926d650c87ecdfb9f (patch) | |
tree | ad5d4429bed6a16b2e918476f98cf2e084c23483 /Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake | |
parent | fdb2ba2521998397d97d466b10a8ac2458363625 (diff) | |
download | CMake-6c8326749fccd37afd5343d926d650c87ecdfb9f.zip CMake-6c8326749fccd37afd5343d926d650c87ecdfb9f.tar.gz CMake-6c8326749fccd37afd5343d926d650c87ecdfb9f.tar.bz2 |
Tests for 'CheckIPOSupported' module
Diffstat (limited to 'Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake')
-rw-r--r-- | Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake b/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake new file mode 100644 index 0000000..652cfd5 --- /dev/null +++ b/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake @@ -0,0 +1,4 @@ +project(${RunCMake_TEST} LANGUAGES C) +set(_CMAKE_IPO_SUPPORTED_BY_CMAKE YES) +set(_CMAKE_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO) +check_ipo_supported() |