You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kumir2/SOURCES/kumir2-alt-fix-LIB_BASENAME...

17 lines
741 B

diff --git a/cmake/kumir2/kumir2_linux.cmake b/cmake/kumir2/kumir2_linux.cmake
index 6952b14a..5261955b 100644
--- a/cmake/kumir2/kumir2_linux.cmake
+++ b/cmake/kumir2/kumir2_linux.cmake
@@ -2,11 +2,6 @@
# should be placed into 'lib' subdirectory of /usr [/usr/local].
# Some distributions have distinct lib64 directory for 64-bit libraries.
# LIB_BASENAME value is a correct 'lib' dir name for current distro.
-if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64") AND NOT (EXISTS /etc/ubuntu-release) AND NOT (EXISTS /etc/debian_version))
- set(LIB_BASENAME lib64)
-else()
- set(LIB_BASENAME lib)
-endif()
# Build filesystem layout, according to LSB
set(KUMIR2_EXEC_DIR "bin") # executable binaries