diff options
| author | Léo Lam <leolino.lam@gmail.com> | 2018-03-31 11:45:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-31 11:45:01 +0200 |
| commit | 127c2ce394f95cd713c09807c9112dc4dafa5b05 (patch) | |
| tree | 4c17232499504b014ff88a943c57b95dc78738fe /Source/Core/InputCommon | |
| parent | 7833f1a931ee1ad8d502b064f09c305f1c00024d (diff) | |
| parent | e93159e54a6ee164a854def48ed738d90a39df31 (diff) | |
Merge pull request #6566 from lioncash/maclibs
CMakeLists: Link in system framework libraries explicitly on macOS
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/CMakeLists.txt b/Source/Core/InputCommon/CMakeLists.txt index 0593782e55..704ef394bf 100644 --- a/Source/Core/InputCommon/CMakeLists.txt +++ b/Source/Core/InputCommon/CMakeLists.txt @@ -37,10 +37,6 @@ if(WIN32) ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp ) elseif(APPLE) - find_library(COREFOUNDATION_LIBRARY CoreFoundation) - find_library(CARBON_LIBRARY Carbon) - find_library(COCOA_LIBRARY Cocoa) - find_library(FORCEFEEDBACK_LIBRARY ForceFeedback) target_sources(inputcommon PRIVATE ControllerInterface/OSX/OSX.mm ControllerInterface/OSX/OSXJoystick.mm @@ -53,6 +49,7 @@ elseif(APPLE) ${CARBON_LIBRARY} ${COCOA_LIBRARY} ${FORCEFEEDBACK_LIBRARY} + ${IOK_LIBRARY} ) elseif(X11_FOUND) target_sources(inputcommon PRIVATE |
