summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-01-03 13:17:57 +0100
committerTillmann Karras <tilkax@gmail.com>2015-01-03 13:17:57 +0100
commit6bcdb10eeec725a0b3513fc5c8f9b8590acaf209 (patch)
tree050c6b89900869d6323cd547a47b75fc6902b852 /Source/Core/VideoBackends
parentc3d52e0476e92ef7122d125072963ddce038ac1e (diff)
CMake: simplify some expressions
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/OGL/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt
index 6d972e538c..85964a3185 100644
--- a/Source/Core/VideoBackends/OGL/CMakeLists.txt
+++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt
@@ -26,7 +26,7 @@ endif()
if(WIN32)
set(SRCS ${SRCS} GLInterface/WGL.cpp)
-elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+elseif(APPLE)
set(SRCS ${SRCS} GLInterface/AGL.cpp)
elseif(USE_X11)
if (NOT USE_EGL)
@@ -51,8 +51,7 @@ if(USE_EGL)
set(LIBS ${LIBS} EGL)
endif()
-if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
- ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD")
set(LIBS ${LIBS} usbhid)
endif()