Skip to content

Commit b509658

Browse files
[CMAKE] Remove obsolete 'CMAKE_CXX_COMPILER_VERSION' checks (reactos#2981)
Following upgrade to RosBE 2.2.0 support and GCC 8.4.
1 parent 3b983e5 commit b509658

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

base/applications/network/telnet/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set_cpp(WITH_EXCEPTIONS WITH_STL)
33

44
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
55

6-
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
6+
if(NOT MSVC)
77
add_compile_flags("-Wno-restrict")
88
endif()
99

base/services/tftpd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
2+
if(NOT MSVC)
33
add_compile_flags("-Wno-format-overflow")
44
endif()
55

dll/3rdparty/libxslt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
2+
if(NOT MSVC)
33
add_compile_flags("-Wno-misleading-indentation")
44
endif()
55

0 commit comments

Comments
 (0)