From e70fb06a8b98534bca6093fe13f8394a71f56fd8 Mon Sep 17 00:00:00 2001 From: Aggelos Tselios Date: Fri, 24 May 2024 16:22:38 +0300 Subject: [PATCH] CMakeLists.txt: Stop setting compiler flags on Windows manually --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbb9850..5ec401d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,8 +49,6 @@ else() message(WARNING "Compiling using MSVC is still experimental, prefer GCC or CLang if available.") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4") add_compile_definitions(_CRT_SECURE_NO_WARNINGS) - else() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all -fstack-clash-protection -Wno-unused-parameter --param ssp-buffer-size=4 -Wconversion -Werror=format -Werror=format-security -Winline -Wall -Wextra") endif() endif()