summaryrefslogtreecommitdiffstats
path: root/Help/prop_gbl
diff options
context:
space:
mode:
authorSteven Newbury <steve@snewbury.org.uk>2017-02-27 21:06:51 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-07 20:22:55 (GMT)
commit462cf254270fbd56bffc73b00dc28882fdb0bdd6 (patch)
treeff0ebb25613ba68d21b9b50f60f1f53f2ea05d79 /Help/prop_gbl
parent06ef23c3e0abf79f451cf69fbd3ac646b7e17c27 (diff)
downloadCMake-462cf254270fbd56bffc73b00dc28882fdb0bdd6.zip
CMake-462cf254270fbd56bffc73b00dc28882fdb0bdd6.tar.gz
CMake-462cf254270fbd56bffc73b00dc28882fdb0bdd6.tar.bz2
Add support for x32-abi
Detect x32-abi through CMakeCompilerABI infrastruture and use this information at runtime to determine the correct library paths with `FIND_LIBRARY_USE_LIBX32_PATHS`. Fixes: #15994
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r--Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst
new file mode 100644
index 0000000..b87b09b
--- /dev/null
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIBX32_PATHS.rst
@@ -0,0 +1,12 @@
+FIND_LIBRARY_USE_LIBX32_PATHS
+-----------------------------
+
+Whether the :command:`find_library` command should automatically search
+``libx32`` directories.
+
+``FIND_LIBRARY_USE_LIBX32_PATHS`` is a boolean specifying whether the
+:command:`find_library` command should automatically search the ``libx32``
+variant of directories called ``lib`` in the search path when building
+x32-abi binaries.
+
+See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable.