mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
6 lines
237 B
CMake
6 lines
237 B
CMake
if(MSVC)
|
|
# remove default warning level from CMAKE_CXX_FLAGS_INIT
|
|
string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT}")
|
|
string(REGEX REPLACE "/W[0-4]" "" CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT}")
|
|
endif()
|