Cocoa: Fix warnings caused by _XOPEN_SOURCE

This commit is contained in:
Camilla Löwy 2017-08-10 22:24:44 +02:00
parent e376404d38
commit 3ee7f8f695
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ set_target_properties(glfw PROPERTIES
target_compile_definitions(glfw PRIVATE
_GLFW_USE_CONFIG_H
$<$<BOOL:${UNIX}>:_XOPEN_SOURCE=500>)
$<$<BOOL:${UNIX}>:_XOPEN_SOURCE=600>)
target_include_directories(glfw PUBLIC
$<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>)