at 18.03-beta 37 lines 1.7 kB view raw
1Index: extra-cmake-modules-5.18.0/kde-modules/KDEInstallDirs.cmake 2=================================================================== 3--- extra-cmake-modules-5.18.0.orig/kde-modules/KDEInstallDirs.cmake 4+++ extra-cmake-modules-5.18.0/kde-modules/KDEInstallDirs.cmake 5@@ -200,32 +200,6 @@ 6 # GNUInstallDirs code deals with re-configuring, but that is dealt with 7 # by the _define_* macros in this module). 8 set(_LIBDIR_DEFAULT "lib") 9-# Override this default 'lib' with 'lib64' iff: 10-# - we are on a Linux, kFreeBSD or Hurd system but NOT cross-compiling 11-# - we are NOT on debian 12-# - we are on a 64 bits system 13-# reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf 14-# For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if 15-# CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu" 16-# See http://wiki.debian.org/Multiarch 17-if((CMAKE_SYSTEM_NAME MATCHES "Linux|kFreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "GNU") 18- AND NOT CMAKE_CROSSCOMPILING) 19- if (EXISTS "/etc/debian_version") # is this a debian system ? 20- if(CMAKE_LIBRARY_ARCHITECTURE) 21- set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}") 22- endif() 23- else() # not debian, rely on CMAKE_SIZEOF_VOID_P: 24- if(NOT DEFINED CMAKE_SIZEOF_VOID_P) 25- message(AUTHOR_WARNING 26- "Unable to determine default LIB_INSTALL_LIBDIR directory because no target architecture is known. " 27- "Please enable at least one language before including KDEInstallDirs.") 28- else() 29- if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") 30- set(_LIBDIR_DEFAULT "lib64") 31- endif() 32- endif() 33- endif() 34-endif() 35 36 set(_gnu_install_dirs_vars 37 BINDIR