diff options
author | Dimitri John Ledkov <dimitri.ledkov@canonical.com> | 2013-12-13 17:09:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-12-19 16:27:30 (GMT) |
commit | f293d525a1ceb77e041ec71d8d83f8674916d406 (patch) | |
tree | c21c4738cf82ad7bc0c9f7dd303e39c6ff62562b /Modules | |
parent | 5e43d6d3d0285901af816ab1ed37563ea00eaf21 (diff) | |
download | CMake-f293d525a1ceb77e041ec71d8d83f8674916d406.zip CMake-f293d525a1ceb77e041ec71d8d83f8674916d406.tar.gz CMake-f293d525a1ceb77e041ec71d8d83f8674916d406.tar.bz2 |
GNUInstallDirs: Use multiarch on Debian with FreeBSD and HURD kernels
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/GNUInstallDirs.cmake | 2 |
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) |