From da90d1ccf222227541b194814c3e6b8fcce203eb Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 15 Dec 2016 18:45:51 +0000 Subject: [PATCH] Fix cross compiling for mac --- src/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 570a8012d..1afaaf707 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1330,13 +1330,13 @@ endif() if (APPLE) target_link_libraries(clementine_lib - /System/Library/Frameworks/AppKit.framework - /System/Library/Frameworks/Carbon.framework - /System/Library/Frameworks/CoreAudio.framework - /System/Library/Frameworks/DiskArbitration.framework - /System/Library/Frameworks/Foundation.framework - /System/Library/Frameworks/IOKit.framework - /System/Library/Frameworks/ScriptingBridge.framework + "-framework AppKit" + "-framework Carbon" + "-framework CoreAudio" + "-framework DiskArbitration" + "-framework Foundation" + "-framework IOKit" + "-framework ScriptingBridge" ) target_link_libraries(clementine_lib ${SPMEDIAKEYTAP_LIBRARIES}) if (HAVE_SPARKLE)