diff --git a/CMakeLists.txt b/CMakeLists.txt index 86955ec..ca72ae0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") \ No newline at end of file