summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-18 20:09:04 (GMT)
committerBrad King <brad.king@kitware.com>2023-08-18 20:09:43 (GMT)
commitd6b4f6dd97e679a34aedda57cb3768842c74bcef (patch)
tree5c7ccc19c7d3b930d0a152e7f72363fbe542bc17 /Utilities
parent5fb17a1410268d7341c1d4241e1eb174efbab10d (diff)
downloadCMake-d6b4f6dd97e679a34aedda57cb3768842c74bcef.zip
CMake-d6b4f6dd97e679a34aedda57cb3768842c74bcef.tar.gz
CMake-d6b4f6dd97e679a34aedda57cb3768842c74bcef.tar.bz2
libuv: Remove unused compatibility code for CMake < 3.9
We now require CMake 3.13 or higher anyway.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibuv/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/Utilities/cmlibuv/CMakeLists.txt b/Utilities/cmlibuv/CMakeLists.txt
index 9df0c7f..271e3cb 100644
--- a/Utilities/cmlibuv/CMakeLists.txt
+++ b/Utilities/cmlibuv/CMakeLists.txt
@@ -297,10 +297,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
)
if(CMAKE_SYSTEM_VERSION STREQUAL "5.10")
set(CMAKE_C_STANDARD 90)
- if(CMAKE_VERSION VERSION_LESS 3.8.20170504 AND CMAKE_C_COMPILER_ID STREQUAL "SunPro" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.14)
- # The running version of CMake does not know how to add this flag.
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c90")
- endif()
list(APPEND uv_defines
_XOPEN_SOURCE=500
)
@@ -308,10 +304,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
if(NOT CMAKE_C_STANDARD OR CMAKE_C_STANDARD EQUAL 90)
set(CMAKE_C_STANDARD 11)
endif()
- if(CMAKE_VERSION VERSION_LESS 3.8.20170505 AND CMAKE_C_COMPILER_ID STREQUAL "SunPro" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 5.14)
- # The running version of CMake does not know how to add this flag.
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -xc99")
- endif()
list(APPEND uv_defines
_XOPEN_SOURCE=600
)