Skip to content

Commit

Permalink
try compiling as c++ on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbarker committed Sep 28, 2024
1 parent 4ce2339 commit fffe566
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 3.28)
project(clay C)

if (MSVC)
project(clay CXX)
set(CMAKE_CXX_STANDARD 20)
else ()
project(clay C)
set(CMAKE_C_STANDARD 99)
endif()

add_subdirectory("examples/raylib-sidebar-scrolling-container")
add_subdirectory("examples/clay-official-website")

0 comments on commit fffe566

Please sign in to comment.