only do _GNU_SOURCE on linux
This commit is contained in:
parent
f0d3f6778c
commit
c8a65f2894
@ -187,7 +187,7 @@ function(give_options_without_warnings target)
|
||||
|
||||
target_compile_definitions(${target} PRIVATE
|
||||
$<$<BOOL:${TWN_FEATURE_DYNLIB_GAME}>:TWN_FEATURE_DYNLIB_GAME>
|
||||
_GNU_SOURCE)
|
||||
$<$<BOOL:${LINUX}>:_GNU_SOURCE>)
|
||||
endfunction()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user