1
0
Fork 0

Cmake system name not System name

This commit is contained in:
worktycho 2014-05-28 21:39:28 +01:00
parent a2b741d904
commit 444cce1269
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if (WIN32)
endif()
# 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)
endif()