summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cd9c3e5..8ffb8374 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,12 +217,12 @@ fm_run_hook(fm-userconfig-src)
if(CMAKE_COMPILER_IS_GNUCXX)
add_compile_options(-Wno-float-equal)
add_compile_options(-Wreturn-type -Werror=return-type)
- add_compile_options(-Wno-c99-compat)
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
add_definitions(-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES)
add_compile_options(-Wno-shift-op-parentheses)
+ add_compile_options(-Wno-c99-compat)
elseif(CMAKE_COMPILER_IS_GNUCXX)
add_compile_options(-Wno-subobject-linkage -Wno-parentheses -Wno-overloaded-virtual)
endif()