From 7d73ccd60df0e14632bee148419a2c46dd260667 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Tue, 27 Aug 2024 11:36:52 +1200 Subject: [PATCH] Remove overflow trap flag from the default cmake configuration to prevent issues on windows --- examples/clay-official-website/CMakeLists.txt | 2 +- examples/raylib-sidebar-scrolling-container/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/clay-official-website/CMakeLists.txt b/examples/clay-official-website/CMakeLists.txt index be7aa21..f8b7104 100644 --- a/examples/clay-official-website/CMakeLists.txt +++ b/examples/clay-official-website/CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_C_STANDARD 99) add_executable(clay_official_website main.c) -target_compile_options(clay_official_website PUBLIC -DCLAY_OVERFLOW_TRAP -Wno-initializer-overrides) +target_compile_options(clay_official_website PUBLIC -Wno-initializer-overrides) target_include_directories(clay_official_website PUBLIC .) set(CMAKE_CXX_FLAGS_RELEASE "-O3") diff --git a/examples/raylib-sidebar-scrolling-container/CMakeLists.txt b/examples/raylib-sidebar-scrolling-container/CMakeLists.txt index 1a6e2ee..7b7082d 100644 --- a/examples/raylib-sidebar-scrolling-container/CMakeLists.txt +++ b/examples/raylib-sidebar-scrolling-container/CMakeLists.txt @@ -20,7 +20,7 @@ set(CMAKE_C_STANDARD 99) add_executable(clay_examples_raylib_sidebar_scrolling_container main.c) -target_compile_options(clay_examples_raylib_sidebar_scrolling_container PUBLIC -DCLAY_OVERFLOW_TRAP -Wno-initializer-overrides) +target_compile_options(clay_examples_raylib_sidebar_scrolling_container PUBLIC -Wno-initializer-overrides) target_include_directories(clay_examples_raylib_sidebar_scrolling_container PUBLIC .) target_link_libraries(clay_examples_raylib_sidebar_scrolling_container PUBLIC raylib)