diff --git a/CMakeLists.txt b/CMakeLists.txt index 9627982..481b9a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,11 +76,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 OR CPR_FORCE_MBEDTLS_BACKEND)