diff --git a/CMakeLists.txt b/CMakeLists.txt index 98383a9..76444ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ include(ConfigureChecks.cmake) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") # using Clang - set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -stdlib=libc++") + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-idiomatic-parentheses -pedantic -stdlib=libc++") elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") # using G++