mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
libuv: Compile as C 90 on Solaris 10
This commit is contained in:
@@ -224,6 +224,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||
list(APPEND uv_defines
|
||||
_XOPEN_SOURCE=500
|
||||
)
|
||||
if(CMAKE_C_STANDARD)
|
||||
set(CMAKE_C_STANDARD 90)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND uv_defines
|
||||
_XOPEN_SOURCE=600
|
||||
|
||||
Reference in New Issue
Block a user