mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CMAKE] Remove obsolete 'CMAKE_CXX_COMPILER_VERSION' checks (#2981)
Following upgrade to RosBE 2.2.0 support and GCC 8.4.
This commit is contained in:
parent
3b983e57b0
commit
b509658280
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ set_cpp(WITH_EXCEPTIONS WITH_STL)
|
|||
|
||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
|
||||
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
if(NOT MSVC)
|
||||
add_compile_flags("-Wno-restrict")
|
||||
endif()
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
if(NOT MSVC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
|
2
dll/3rdparty/libxslt/CMakeLists.txt
vendored
2
dll/3rdparty/libxslt/CMakeLists.txt
vendored
|
@ -1,5 +1,5 @@
|
|||
|
||||
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
if(NOT MSVC)
|
||||
add_compile_flags("-Wno-misleading-indentation")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue