summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake')
-rw-r--r--Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake b/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake
index 652cfd5b2b..86c8f8d43c 100644
--- a/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake
+++ b/Tests/RunCMake/CheckIPOSupported/not-supported-by-compiler.cmake
@@ -1,4 +1,4 @@
project(${RunCMake_TEST} LANGUAGES C)
-set(_CMAKE_IPO_SUPPORTED_BY_CMAKE YES)
-set(_CMAKE_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO)
+set(_CMAKE_C_IPO_SUPPORTED_BY_CMAKE YES)
+set(_CMAKE_C_IPO_MAY_BE_SUPPORTED_BY_COMPILER NO)
check_ipo_supported()