diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-01-03 13:17:57 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-01-03 13:17:57 +0100 |
| commit | 6bcdb10eeec725a0b3513fc5c8f9b8590acaf209 (patch) | |
| tree | 050c6b89900869d6323cd547a47b75fc6902b852 /Source/Core/InputCommon | |
| parent | c3d52e0476e92ef7122d125072963ddce038ac1e (diff) | |
CMake: simplify some expressions
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/CMakeLists.txt b/Source/Core/InputCommon/CMakeLists.txt index a305bb5b2a..75679b6a9f 100644 --- a/Source/Core/InputCommon/CMakeLists.txt +++ b/Source/Core/InputCommon/CMakeLists.txt @@ -14,10 +14,10 @@ if(WIN32) ControllerInterface/DInput/DInputKeyboardMouse.cpp ControllerInterface/XInput/XInput.cpp ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp) -elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation) - FIND_LIBRARY(CARBON_LIBRARY Carbon) - FIND_LIBRARY(COCOA_LIBRARY Cocoa) +elseif(APPLE) + find_library(COREFOUNDATION_LIBRARY CoreFoundation) + find_library(CARBON_LIBRARY Carbon) + find_library(COCOA_LIBRARY Cocoa) set(SRCS ${SRCS} ControllerInterface/OSX/OSX.mm ControllerInterface/OSX/OSXKeyboard.mm |
