build: refine cmake for testbed

This commit is contained in:
skypjack
2025-04-11 18:27:25 +02:00
parent 55fb754614
commit c66f116449
2 changed files with 10 additions and 9 deletions

View File

@@ -11,6 +11,9 @@ FetchContent_Declare(
GIT_SHALLOW 1
)
option(SDL_STATIC "Enable SDL static library" ON)
option(SDL_SHARED "Disable SDL shared library" OFF)
FetchContent_MakeAvailable(SDL3)
# Fetch ImGui