This commit is contained in:
Cory 2025-01-21 03:39:59 -06:00 committed by GitHub
commit 4441b676d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,10 +3,13 @@ project(clay)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
option(CLAY_INCLUDE_EXAMPLES "Build examples" OFF)
if(APPLE)
enable_language(OBJC)
endif()
if(CLAY_INCLUDE_EXAMPLES)
add_subdirectory("examples/cpp-project-example")
add_subdirectory("examples/raylib-multi-context")
add_subdirectory("examples/raylib-sidebar-scrolling-container")
@ -17,3 +20,4 @@ if(NOT MSVC)
endif()
add_subdirectory("examples/introducing-clay-video-demo")
add_subdirectory("examples/SDL2-video-demo")
endif()