Skip to content
Snippets Groups Projects
Commit 37b24e0b authored by Natanael Copa's avatar Natanael Copa Committed by Brad King
Browse files

GNUInstallDirs: don't use lib64 on Alpine Linux

Fixes: #22318
parent d64d2d12
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR OR (_libdir_set
endif()
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
AND NOT CMAKE_CROSSCOMPILING
AND NOT EXISTS "/etc/alpine-release"
AND NOT EXISTS "/etc/arch-release")
if (EXISTS "/etc/debian_version") # is this a debian system ?
if(CMAKE_LIBRARY_ARCHITECTURE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment