Merge pull request #1819 from Tilka/cmake

CMake: simplify some expressions
This commit is contained in:
Markus Wick
2015-01-06 09:27:59 +01:00
13 changed files with 42 additions and 46 deletions

View File

@ -61,7 +61,7 @@ if(WIN32)
endif(WIN32)
set(LIBS "${CMAKE_THREAD_LIBS_INIT}")
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND (NOT ANDROID))
if(NOT APPLE AND NOT ANDROID)
set(LIBS ${LIBS} rt)
endif()