mirror of https://github.com/libsdl-org/SDL
cmake: no shared SDL libraries for riscos
This commit is contained in:
parent
e203046a5c
commit
4d8a50912b
|
@ -50,6 +50,7 @@ jobs:
|
|||
- name: Verify CMake configuration files
|
||||
run: |
|
||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||
-DTEST_SHARED=OFF \
|
||||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
||||
-DCMAKE_PREFIX_PATH=${{ env.SDL3_DIR }} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
|
|
|
@ -323,7 +323,7 @@ if(EMSCRIPTEN)
|
|||
set(SDL_CPUINFO_ENABLED_BY_DEFAULT OFF)
|
||||
endif()
|
||||
|
||||
if(VITA OR PSP OR PS2 OR N3DS)
|
||||
if(VITA OR PSP OR PS2 OR N3DS OR RISCOS)
|
||||
set(SDL_SHARED_ENABLED_BY_DEFAULT OFF)
|
||||
set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
|
||||
endif()
|
||||
|
|
|
@ -13,7 +13,7 @@ include(CMakePushCheckState)
|
|||
include(GNUInstallDirs)
|
||||
|
||||
set(SDL_TESTS_LINK_SHARED_DEFAULT ON)
|
||||
if(EMSCRIPTEN OR N3DS OR PS2 OR PSP OR VITA)
|
||||
if(EMSCRIPTEN OR N3DS OR PS2 OR PSP OR RISCOS OR VITA)
|
||||
set(SDL_TESTS_LINK_SHARED_DEFAULT OFF)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue