From 0de4957a22dd408793d0526351bcb7d61786fe86 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Fri, 7 Feb 2025 22:15:57 +0100 Subject: add sdl implementation --- app/CMakeLists.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'app/CMakeLists.txt') diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index f3e864f..b75615b 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,3 +1,14 @@ if(APPLE) + message(STATUS "Building macOS port.") add_subdirectory(mac) -endif() \ No newline at end of file +else() + message(STATUS "macOS port disabled.") +endif() + +find_package(SDL3 CONFIG COMPONENTS SDL3-shared) +if(SDL3_FOUND) + message(STATUS "Building SDL3 port.") + add_subdirectory(sdl) +else() + message(STATUS "SDL3 port disabled.") +endif() -- cgit v1.3.1