diff options
author | Brad King <brad.king@kitware.com> | 2015-03-23 13:22:06 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-23 13:22:06 (GMT) |
commit | 7ef5f240c80bae10701eda5a1592d0516668a85e (patch) | |
tree | 0620643f3c23b2170adfae18e6868acfa9fb7cbf | |
parent | e85eb2e3368f2cc26149ef801c1a35979ffa1bad (diff) | |
parent | 81bfebfe8c1cd568c945250ac26ac18d92fcd251 (diff) | |
download | CMake-7ef5f240c80bae10701eda5a1592d0516668a85e.zip CMake-7ef5f240c80bae10701eda5a1592d0516668a85e.tar.gz CMake-7ef5f240c80bae10701eda5a1592d0516668a85e.tar.bz2 |
Merge topic 'lib64_paths_crosscompiling'
81bfebfe Linux: Ignore Debian-specific case when cross-compiling
-rw-r--r-- | Modules/Platform/Linux.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake index fe8e003..e40a74f 100644 --- a/Modules/Platform/Linux.cmake +++ b/Modules/Platform/Linux.cmake @@ -52,6 +52,6 @@ include(Platform/UnixPaths) # Debian has lib64 paths only for compatibility so they should not be # searched. -if(EXISTS "/etc/debian_version") +if(NOT CMAKE_CROSSCOMPILING AND EXISTS "/etc/debian_version") set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) endif() |