mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-10-09 20:12:09 +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:
1 parent
6beb8209a7
commit
d0d16e0a8b
4 files changed
+9
-3
No files matched your search
@@ -2,6 +2,8 @@ set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
||||
|
||||
set(MANYLINUX1 TRUE)
|
||||
|
||||
set(cross_triple "x86_64-linux-gnu")
|
||||
|
||||
set(CMAKE_C_COMPILER /opt/rh/devtoolset-2/root/usr/bin/gcc)
|
||||
|
||||
Reference in new issue
Block a user