Skip to content

Commit

Permalink
CMakeLists.txt: Stop setting compiler flags on Windows manually
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed May 24, 2024
1 parent 14cb27d commit e70fb06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit e70fb06

Please sign in to comment.