mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 04:59:26 +02:00
Manylinux toolchain: set MANYLINUX1/MANYLINUX2010 to TRUE
So that one can do `if (MANYLINUX1)` in CMake, just like it is commonly done with e.g. `if (IOS)` or `if (MSVC)`.
This commit is contained in:
@ -2,6 +2,8 @@ set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_SYSTEM_PROCESSOR i686)
|
||||
|
||||
set(MANYLINUX1 TRUE)
|
||||
|
||||
set(cross_triple "i686-linux-gnu")
|
||||
|
||||
set(CMAKE_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
|
||||
|
Reference in New Issue
Block a user