Revert previous changes
This commit is contained in:
parent
96824f11c6
commit
f6dadcf1f1
|
@ -98,10 +98,6 @@ macro(config_compiler_and_linker)
|
|||
set(cxx_exception_flags "-EHsc -D_HAS_EXCEPTIONS=1")
|
||||
set(cxx_no_exception_flags "-EHs-c- -D_HAS_EXCEPTIONS=0")
|
||||
set(cxx_no_rtti_flags "-GR-")
|
||||
|
||||
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
|
||||
set(cxx_base_flags "${cxx_base_flags} -Wno-unknown-argument")
|
||||
endif()
|
||||
elseif (CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(cxx_base_flags "-Wall -Wshadow -Werror")
|
||||
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user