Martchus
5411a9d1fd
* Use an older glibc so resulting binaries can run on older systems (without having to link statically against glibc) * Call packages static-compat-* to make it clear that these packages are intended for compatibility with older distributions * Add further libraries to get static-compat-qt6-base and some other static-compat-qt6-* packages building
14 lines
434 B
CMake
14 lines
434 B
CMake
set (CMAKE_SYSTEM_NAME Linux)
|
|
set (CMAKE_SYSTEM_PROCESSOR @PROCESSOR@)
|
|
|
|
# specify the cross compiler
|
|
set (CMAKE_C_COMPILER @PREFIX@/bin/gcc)
|
|
set (CMAKE_CXX_COMPILER @PREFIX@/bin/g++)
|
|
|
|
# where is the target environment
|
|
set (CMAKE_FIND_ROOT_PATH @PREFIX@)
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
|