diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-12-23 22:22:59 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-12-23 22:23:11 (GMT) |
commit | d480ede35b82c540e9d93b7bb4280014875f6444 (patch) | |
tree | ad2a4fe6eb8525e9ff47e889727cebd1e7c4b9ba /Help/command | |
parent | 170fcebf2e866ce5266067716025a57c7e7e6ec4 (diff) | |
parent | f255280fd908e4ef1af5eba6230e81b74d339855 (diff) | |
download | CMake-d480ede35b82c540e9d93b7bb4280014875f6444.zip CMake-d480ede35b82c540e9d93b7bb4280014875f6444.tar.gz CMake-d480ede35b82c540e9d93b7bb4280014875f6444.tar.bz2 |
Merge topic 'link-options'
f255280fd9 PIE link options: Update strategy to fix performance regression
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2739
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/try_compile.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index f50fcb6..cf9e06f 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -134,6 +134,11 @@ default values: If :policy:`CMP0056` is set to ``NEW``, then :variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well. +If :policy:`CMP0083` is set to ``NEW``, then in order to obtain correct +behavior at link time, the ``check_pie_supported()`` command from the +:module:`CheckPIESupported` module must be called before using the +:command:`try_compile` command. + The current settings of :policy:`CMP0065` and :policy:`CMP0083` are set in the generated project. |