mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 20:29:47 +00:00
14 lines
332 B
CMake
14 lines
332 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/i386-linux-gnu")
|
|
else (EXISTS "/etc/debian_version")
|
|
SET (CMAKE_INSTALL_LIBDIR "lib32")
|
|
endif (EXISTS "/etc/debian_version")
|