mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 12:19:43 +00:00
15 lines
348 B
CMake
15 lines
348 B
CMake
SET(CMAKE_SYSTEM_NAME Linux)
|
|
SET(CMAKE_SYSTEM_PROCESSOR "i686")
|
|
|
|
SET(CMAKE_C_COMPILER clang)
|
|
SET(CMAKE_CXX_COMPILER clang++)
|
|
|
|
SET(BITS 32)
|
|
|
|
if (EXISTS "/etc/debian_version")
|
|
SET (CMAKE_INSTALL_LIBDIR "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
|
|
else (EXISTS "/etc/debian_version")
|
|
SET (CMAKE_INSTALL_LIBDIR "lib32")
|
|
endif (EXISTS "/etc/debian_version")
|
|
|