diff --git a/CMakeLists.txt b/CMakeLists.txt index fef2d28..6dcbf0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,11 +67,6 @@ if(CPR_ENABLE_CPPCHECK) include(cmake/cppcheck.cmake) endif() -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") -else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror") -endif() - # SSL if(CPR_ENABLE_SSL) if(CPR_FORCE_OPENSSL_BACKEND OR CPR_FORCE_WINSSL_BACKEND OR CPR_FORCE_DARWINSSL_BACKEND)