summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorSteven Newbury <steve@snewbury.org.uk>2017-02-27 21:17:28 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-07 20:22:55 (GMT)
commitbed9c73decfcda0366984d990045e588928440ec (patch)
tree5498d64c6ff7a9092f4b7c1b41c9eb93610fa11d /Modules/GetPrerequisites.cmake
parent462cf254270fbd56bffc73b00dc28882fdb0bdd6 (diff)
downloadCMake-bed9c73decfcda0366984d990045e588928440ec.zip
CMake-bed9c73decfcda0366984d990045e588928440ec.tar.gz
CMake-bed9c73decfcda0366984d990045e588928440ec.tar.bz2
Modules: Add x32-abi support to hard-coded paths
Update hard-coded library paths in bundled CMake Modules for libx32 as used with x32-abi.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r--Modules/GetPrerequisites.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index 417af7c..a3b97ab 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/Modules/GetPrerequisites.cmake
@@ -521,7 +521,7 @@ function(gp_resolved_file_type original_file file exepath dirs type_var)
string(TOLOWER "${resolved_file}" lower)
if(UNIX)
- if(resolved_file MATCHES "^(/lib/|/lib32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)")
+ if(resolved_file MATCHES "^(/lib/|/lib32/|/libx32/|/lib64/|/usr/lib/|/usr/lib32/|/usr/libx32/|/usr/lib64/|/usr/X11R6/|/usr/bin/)")
set(is_system 1)
endif()
endif()