Cmake system name not System name
This commit is contained in:
parent
a2b741d904
commit
444cce1269
@ -18,7 +18,7 @@ if (WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# FreeBSD requires us to define this to get POSIX 2001 standard
|
# FreeBSD requires us to define this to get POSIX 2001 standard
|
||||||
if (SYSTEM_NAME STREQUAL "FreeBSD")
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||||
add_flags_cxx(-D__POSIX_VISIBLE=200112)
|
add_flags_cxx(-D__POSIX_VISIBLE=200112)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user