Hardcode arch triplets

This commit is contained in:
Sergey Bugaev 2017-01-13 22:18:32 +03:00
parent 71afd3f2c6
commit f388abbc58
2 changed files with 2 additions and 4 deletions

View File

@ -7,8 +7,7 @@ SET(CMAKE_CXX_COMPILER clang++)
SET(BITS 32)
if (EXISTS "/etc/debian_version")
SET (CMAKE_INSTALL_LIBDIR "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
SET (CMAKE_INSTALL_LIBDIR "lib/i386-linux-gnu")
else (EXISTS "/etc/debian_version")
SET (CMAKE_INSTALL_LIBDIR "lib32")
endif (EXISTS "/etc/debian_version")

View File

@ -6,8 +6,7 @@ SET(CMAKE_CXX_COMPILER clang++)
SET(BITS 64)
if (EXISTS "/etc/debian_version")
SET (CMAKE_INSTALL_LIBDIR "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
SET (CMAKE_INSTALL_LIBDIR "lib/x86_64-linux-gnu")
else (EXISTS "/etc/debian_version")
SET (CMAKE_INSTALL_LIBDIR "lib64")
endif (EXISTS "/etc/debian_version")