|
|
@ -265,7 +265,7 @@ IF (CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Linux") |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Linux") |
|
|
|
LIST (APPEND SYSFLAGS -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700) |
|
|
|
LIST (APPEND SYSFLAGS -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700) |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "SunOS") |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "SunOS") |
|
|
|
LIST (APPEND SYSFLAGS -D__EXTENSIONS__ -D_REENTRANT -D_XOPEN_SOURCE=700) |
|
|
|
LIST (APPEND SYSFLAGS -D__EXTENSIONS__ -D_REENTRANT -D_XOPEN_SOURCE=600) |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "AIX") |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "AIX") |
|
|
|
LIST (APPEND SYSFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=700 -D_USE_IRS) |
|
|
|
LIST (APPEND SYSFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=700 -D_USE_IRS) |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
|
|
|
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
|
|
|