From b1ab5daa74efd6622136d6abef204eb4d62627fc Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Mon, 6 Jan 2025 09:59:16 +1300 Subject: [PATCH] Add SDL3 renderer to base CMakeLists and fix error on OSX --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f0d72e..9285854 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()