cmake: no shared SDL libraries for riscos

This commit is contained in:
Anonymous Maarten 2023-02-16 20:29:36 +01:00 committed by Sam Lantinga
parent e203046a5c
commit 4d8a50912b
3 changed files with 3 additions and 2 deletions

View File

@ -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 \

View File

@ -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()

View File

@ -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()