summaryrefslogtreecommitdiff
path: root/Help/command/try_compile.rst
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2015-08-14 11:48:01 -0400
committerChuck Atkins <chuck.atkins@kitware.com>2015-08-14 11:48:01 -0400
commitfb77c2c54bc341e76a83f646e6d75662c44179fc (patch)
tree74f70e695f73781489e4db8918321fa8580ad8fb /Help/command/try_compile.rst
parent17ecfd8210b4db74753c4565b10a2b75dfa4c480 (diff)
downloadcmake-fb77c2c54bc341e76a83f646e6d75662c44179fc.tar.gz
try_compile: Propogate the CMAKE_LINK_SEARCH_ variables
Diffstat (limited to 'Help/command/try_compile.rst')
-rw-r--r--Help/command/try_compile.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 9a70885200..23c26adabb 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -96,5 +96,12 @@ the try_compile call of interest, and then re-run cmake again with
Other Behavior Settings
^^^^^^^^^^^^^^^^^^^^^^^
+If set, the following variables are passed in to the generated
+try_compile CMakeLists.txt to initialize compile target properties with
+default values:
+
+* :variable:`CMAKE_LINK_SEARCH_START_STATIC`
+* :variable:`CMAKE_LINK_SEARCH_END_STATIC`
+
Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose
a build configuration.