From bc63867f1ddec306d3d231fbedb16aa3bee0d303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 31 Oct 2013 11:54:59 +0100 Subject: [PATCH] Apple: Had to add this to build on Mavericks, for some reason. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7bb332779..8b942d0c65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -477,7 +477,7 @@ elseif(SDL_FOUND) endif() set(TargetBin PPSSPPSDL) else() - message(FATAL_ERROR "Could not find SDL. Failing.") + message(FATAL_ERROR "Could not find SDL. Failing.") endif() if(X86) @@ -1295,6 +1295,10 @@ if(APPLE) set_target_properties(zlib PROPERTIES COMPILE_FLAGS "-O3") endif() +if(APPLE AND NOT IOS) + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -F /Library/Frameworks") +endif() + # packaging and code signing if(IOS) add_dependencies(PPSSPP ${CoreLibName} GPU Common native)