summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-10 13:04:29 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-10 13:27:30 (GMT)
commitc94c6bae7257762cbc01bf849ec5ac326453731a (patch)
treee24700a244b4afd2ae5c88daa4584ed4c3dac3d2
parent8c0afd2c75af14bbd2355a6f3df729ebeaf6fc25 (diff)
parent8d56308c44efb02515ce8f7608ca8a92423fb92f (diff)
downloadCMake-c94c6bae7257762cbc01bf849ec5ac326453731a.zip
CMake-c94c6bae7257762cbc01bf849ec5ac326453731a.tar.gz
CMake-c94c6bae7257762cbc01bf849ec5ac326453731a.tar.bz2
Merge branch 'doc-CMP0069-typos' into release-3.9
Merge-request: !1122
-rw-r--r--Help/policy/CMP0069.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/policy/CMP0069.rst b/Help/policy/CMP0069.rst
index b8f5d80..0d5ddfd 100644
--- a/Help/policy/CMP0069.rst
+++ b/Help/policy/CMP0069.rst
@@ -55,8 +55,8 @@ Produce a fatal error if support is not available:
cmake_minimum_required(VERSION 3.9) # CMP0069 NEW
project(foo)
- include(CheckIPOSupport)
- check_ipo_support()
+ include(CheckIPOSupported)
+ check_ipo_supported()
# ...
@@ -69,11 +69,11 @@ Apply IPO flags only if compiler supports it:
cmake_minimum_required(VERSION 3.9) # CMP0069 NEW
project(foo)
- include(CheckIPOSupport)
+ include(CheckIPOSupported)
# ...
- check_ipo_support(RESULT result)
+ check_ipo_supported(RESULT result)
if(result)
set_property(TARGET ... PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()