diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-02-07 22:15:57 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-02-07 22:15:57 +0100 |
| commit | 0de4957a22dd408793d0526351bcb7d61786fe86 (patch) | |
| tree | 3160c72a45022b1e0b7e5ab928c690e85e20cded /app/CMakeLists.txt | |
| parent | a6bfb14562982c8c0139566e5a9b3051543791c4 (diff) | |
add sdl implementation
Diffstat (limited to 'app/CMakeLists.txt')
| -rw-r--r-- | app/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
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() |
