mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 14:22:50 +00:00
Cocoa: Fix warnings caused by _XOPEN_SOURCE
This commit is contained in:
+1
-1
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user