summaryrefslogtreecommitdiff
path: root/app/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r--app/CMakeLists.txt13
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()