From Chris White, Cygwin build fix
This commit is contained in:
parent
15f2ae8d15
commit
ed13576d03
@ -20,6 +20,11 @@ SET(TARGET_SRC
|
||||
../common/Version.cpp
|
||||
../common/Atomic.cpp
|
||||
)
|
||||
|
||||
IF(CYGWIN) # define for pthread_{yield,getconcurrency,setconcurrency}
|
||||
ADD_DEFINITIONS(-D_GNU_SOURCE)
|
||||
ENDIF()
|
||||
|
||||
IF(ANDROID)
|
||||
ADD_DEFINITIONS(-D_GNU_SOURCE)
|
||||
SET(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -D_GNU_SOURCE")
|
||||
|
Loading…
Reference in New Issue
Block a user