summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-09 14:37:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-09 14:37:09 (GMT)
commite5783a6f5144bf167534c72641c85a8af9a687a9 (patch)
tree30e2641837cf1c1e07d3a5571917a45f48fba162 /Modules
parentef2bb1c6ed39a593d29c1af0d5b878080581635e (diff)
parentf293d525a1ceb77e041ec71d8d83f8674916d406 (diff)
downloadCMake-e5783a6f5144bf167534c72641c85a8af9a687a9.zip
CMake-e5783a6f5144bf167534c72641c85a8af9a687a9.tar.gz
CMake-e5783a6f5144bf167534c72641c85a8af9a687a9.tar.bz2
Merge topic 'multiarch-multios'
f293d52 GNUInstallDirs: Use multiarch on Debian with FreeBSD and HURD kernels
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GNUInstallDirs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index c8d77c6..9f5b8a4 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -95,7 +95,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
# For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if
# CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu"
# See http://wiki.debian.org/Multiarch
- if(CMAKE_SYSTEM_NAME MATCHES "Linux"
+ if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
AND NOT CMAKE_CROSSCOMPILING)
if (EXISTS "/etc/debian_version") # is this a debian system ?
if(CMAKE_LIBRARY_ARCHITECTURE)