Add SDL3 renderer to base CMakeLists and fix error on OSX

This commit is contained in:
Nic Barker 2025-01-06 09:59:16 +13:00
parent 818a7ded15
commit b1ab5daa74

View File

@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.27)
project(clay)
if(APPLE)
enable_language(OBJC)
endif()
add_subdirectory("examples/cpp-project-example")
# Don't try to compile C99 projects using MSVC
@ -8,4 +12,5 @@ if(NOT MSVC)
add_subdirectory("examples/raylib-sidebar-scrolling-container")
add_subdirectory("examples/cairo-pdf-rendering")
add_subdirectory("examples/clay-official-website")
add_subdirectory("examples/sdl3_renderer")
endif()