From ab39754597b4576c174d5093685d3f361fb6028a Mon Sep 17 00:00:00 2001 From: jadebenn Date: Tue, 30 Jan 2024 20:34:41 -0600 Subject: [PATCH] testing if these even have any effect --- CMakeLists.txt | 2 +- CMakePresets.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24c71da7..1b6a775e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ if(UNIX) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC") elseif(MSVC) # Skip warning for invalid conversion from size_t to uint32_t for all targets below for now - add_compile_options("${COMPILE_OPTIONS}" "/wd4267" "/utf-8") + add_compile_options("/wd4267" "/utf-8") elseif(WIN32) add_compile_definitions(_CRT_SECURE_NO_WARNINGS) endif() diff --git a/CMakePresets.json b/CMakePresets.json index f4163dc2..a2998979 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -36,7 +36,7 @@ }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", - "COMPILE_OPTIONS": "/permissive-;/Zc:inline" + "COMPILE_OPTIONS": "/W3;/permissive-;/Zc:inline" } }, {