diff --git a/examples/SDL2-video-demo/CMakeLists.txt b/examples/SDL2-video-demo/CMakeLists.txt index 49643c2..865b913 100644 --- a/examples/SDL2-video-demo/CMakeLists.txt +++ b/examples/SDL2-video-demo/CMakeLists.txt @@ -33,8 +33,8 @@ target_link_libraries(SDL2_video_demo PUBLIC SDL2::SDL2-static SDL2_ttf::SDL2_ttf-static ) -set(CMAKE_CC_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") -set(CMAKE_CC_FLAGS_RELEASE "-O3") +set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") +set(CMAKE_C_FLAGS_RELEASE "-O3") add_custom_command( TARGET SDL2_video_demo POST_BUILD diff --git a/examples/cairo-pdf-rendering/CMakeLists.txt b/examples/cairo-pdf-rendering/CMakeLists.txt index 4f50979..a015ed3 100644 --- a/examples/cairo-pdf-rendering/CMakeLists.txt +++ b/examples/cairo-pdf-rendering/CMakeLists.txt @@ -8,8 +8,8 @@ target_compile_options(clay_examples_cairo_pdf_rendering PUBLIC) target_include_directories(clay_examples_cairo_pdf_rendering PUBLIC .) target_link_libraries(clay_examples_cairo_pdf_rendering PUBLIC cairo) -set(CMAKE_CC_FLAGS_DEBUG "-Wall -Werror") -set(CMAKE_CC_FLAGS_RELEASE "-O3") +set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror") +set(CMAKE_C_FLAGS_RELEASE "-O3") add_custom_command( TARGET clay_examples_cairo_pdf_rendering POST_BUILD diff --git a/examples/clay-official-website/CMakeLists.txt b/examples/clay-official-website/CMakeLists.txt index 9ad6285..e089e67 100644 --- a/examples/clay-official-website/CMakeLists.txt +++ b/examples/clay-official-website/CMakeLists.txt @@ -8,4 +8,4 @@ add_executable(clay_official_website main.c) target_compile_options(clay_official_website PUBLIC -Wall -Werror -Wno-unknown-pragmas) target_include_directories(clay_official_website PUBLIC .) -set(CMAKE_CC_FLAGS_RELEASE "-O3") \ No newline at end of file +set(CMAKE_C_FLAGS_RELEASE "-O3") \ No newline at end of file diff --git a/examples/cpp-project-example/CMakeLists.txt b/examples/cpp-project-example/CMakeLists.txt index 25aab1d..55f7e6c 100644 --- a/examples/cpp-project-example/CMakeLists.txt +++ b/examples/cpp-project-example/CMakeLists.txt @@ -8,5 +8,5 @@ add_executable(clay_examples_cpp_project_example main.cpp) target_include_directories(clay_examples_cpp_project_example PUBLIC .) -set(CMAKE_CC_FLAGS_DEBUG "-Werror -Wall") -set(CMAKE_CC_FLAGS_RELEASE "-O3") \ No newline at end of file +set(CMAKE_C_FLAGS_DEBUG "-Werror -Wall") +set(CMAKE_C_FLAGS_RELEASE "-O3") \ No newline at end of file diff --git a/examples/introducing-clay-video-demo/CMakeLists.txt b/examples/introducing-clay-video-demo/CMakeLists.txt index 61995c8..2a703c2 100644 --- a/examples/introducing-clay-video-demo/CMakeLists.txt +++ b/examples/introducing-clay-video-demo/CMakeLists.txt @@ -24,8 +24,8 @@ target_compile_options(clay_examples_introducing_clay_video_demo PUBLIC) target_include_directories(clay_examples_introducing_clay_video_demo PUBLIC .) target_link_libraries(clay_examples_introducing_clay_video_demo PUBLIC raylib) -set(CMAKE_CC_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") -set(CMAKE_CC_FLAGS_RELEASE "-O3") +set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") +set(CMAKE_C_FLAGS_RELEASE "-O3") add_custom_command( TARGET clay_examples_introducing_clay_video_demo POST_BUILD diff --git a/examples/raylib-sidebar-scrolling-container/CMakeLists.txt b/examples/raylib-sidebar-scrolling-container/CMakeLists.txt index 27d31a0..330ffaa 100644 --- a/examples/raylib-sidebar-scrolling-container/CMakeLists.txt +++ b/examples/raylib-sidebar-scrolling-container/CMakeLists.txt @@ -24,8 +24,8 @@ target_compile_options(clay_examples_raylib_sidebar_scrolling_container PUBLIC) target_include_directories(clay_examples_raylib_sidebar_scrolling_container PUBLIC .) target_link_libraries(clay_examples_raylib_sidebar_scrolling_container PUBLIC raylib) -set(CMAKE_CC_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") -set(CMAKE_CC_FLAGS_RELEASE "-O3") +set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG") +set(CMAKE_C_FLAGS_RELEASE "-O3") add_custom_command( TARGET clay_examples_raylib_sidebar_scrolling_container POST_BUILD