summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-10 13:06:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-10 13:06:58 (GMT)
commitaf06befe6624dc07abc14d5f074b33f177f607db (patch)
tree1ccf75a3df1f1d83464caaa91abc3f4f63f4b630 /Help
parent1b63d7cf62d00b347830018239947aa7810da3ad (diff)
parent8d56308c44efb02515ce8f7608ca8a92423fb92f (diff)
downloadCMake-af06befe6624dc07abc14d5f074b33f177f607db.zip
CMake-af06befe6624dc07abc14d5f074b33f177f607db.tar.gz
CMake-af06befe6624dc07abc14d5f074b33f177f607db.tar.bz2
Merge topic 'doc-CMP0069-typos'
8d56308c Help: Fix module and function names in CMP0069 examples Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1122
Diffstat (limited to 'Help')
-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()