-Wno-noexcept-type removed for clang

This commit is contained in:
Maksim Andrianov 2018-06-26 16:56:58 +03:00 committed by Slava
parent 3ddcc914e4
commit 8a113aa83c

View file

@ -261,8 +261,10 @@ add_compile_options(
)
add_clang_compile_options("-Wshorten-64-to-32")
add_clang_cpp_compile_options("-Wno-noexcept-type")
add_gcc_cpp_compile_options("-Wno-noexcept-type")
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
add_gcc_cpp_compile_options("-Wno-noexcept-type")
endif()
add_subdirectory(base)
add_subdirectory(coding)