mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-12-04 17:23:29 +08:00
eca7b8e4a1
Avoids the detection of X11 on the build machine
15 lines
353 B
CMake
15 lines
353 B
CMake
set(CMAKE_SYSTEM_NAME QNX)
|
|
|
|
set(arch gcc_ntox86_64)
|
|
|
|
set(CMAKE_C_COMPILER qcc)
|
|
set(CMAKE_C_COMPILER_TARGET ${arch})
|
|
set(CMAKE_CXX_COMPILER q++)
|
|
set(CMAKE_CXX_COMPILER_TARGET ${arch})
|
|
|
|
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|