mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Merge topic 'GNUInstallDirs-alpine'
37b24e0bed
GNUInstallDirs: don't use lib64 on Alpine Linux
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6244
This commit is contained in:
@@ -239,6 +239,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR OR (_libdir_set
|
|||||||
endif()
|
endif()
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING
|
AND NOT CMAKE_CROSSCOMPILING
|
||||||
|
AND NOT EXISTS "/etc/alpine-release"
|
||||||
AND NOT EXISTS "/etc/arch-release")
|
AND NOT EXISTS "/etc/arch-release")
|
||||||
if (EXISTS "/etc/debian_version") # is this a debian system ?
|
if (EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE)
|
if(CMAKE_LIBRARY_ARCHITECTURE)
|
||||||
|
Reference in New Issue
Block a user