CMake: simplify some expressions

This commit is contained in:
Tillmann Karras
2015-01-03 13:17:57 +01:00
parent c3d52e0476
commit 6bcdb10eee
13 changed files with 42 additions and 46 deletions

View File

@ -14,7 +14,7 @@ elseif(WIN32)
set(LDLIBS ${WINSOCK2_LIBRARY} ${IPHLPAPI_LIBRARY} ${LDLIBS})
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(APPLE)
add_definitions(-DMACOSX -D_DARWIN_C_SOURCE)
endif()