summaryrefslogtreecommitdiff
path: root/Help/command/try_compile.rst
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2015-08-14 11:48:54 -0400
committerChuck Atkins <chuck.atkins@kitware.com>2015-08-14 11:48:54 -0400
commit7f0b83e0185f4e131110a61d898cec4a96bd9a7d (patch)
tree8c98e6309ef3ddd7d49867ba831e5863ea899d39 /Help/command/try_compile.rst
parentfb77c2c54bc341e76a83f646e6d75662c44179fc (diff)
downloadcmake-7f0b83e0185f4e131110a61d898cec4a96bd9a7d.tar.gz
try_compile: Update documentation for other propagated variables
Diffstat (limited to 'Help/command/try_compile.rst')
-rw-r--r--Help/command/try_compile.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 23c26adabb..1ed24df701 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -102,6 +102,10 @@ default values:
* :variable:`CMAKE_LINK_SEARCH_START_STATIC`
* :variable:`CMAKE_LINK_SEARCH_END_STATIC`
+* :variable:`CMAKE_POSITION_INDEPENDENT_CODE`
+
+If :policy:`CMP0056` is set to ``NEW``, then
+:variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well.
Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose
a build configuration.