mirror of
https://github.com/glfw/glfw.git
synced 2025-04-11 07:47:04 +00:00
Cocoa: Fix warnings caused by _XOPEN_SOURCE
This commit is contained in:
parent
e376404d38
commit
3ee7f8f695
1 changed files with 1 additions and 1 deletions
|
@ -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>)
|
||||
|
|
Loading…
Add table
Reference in a new issue