Created
December 8, 2014 03:39
-
-
Save archshift/4c515f7cc49f108c8df6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 05a5604..4e37a69 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -69,6 +69,8 @@ if (ENABLE_GLFW) | |
else() | |
if (NOT APPLE) | |
find_package(X11 REQUIRED) | |
+ else() | |
+ find_library(QUARTZCORE_LIBRARY QuartzCore) | |
endif() | |
find_package(PkgConfig REQUIRED) | |
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt | |
index f2add39..f892b49 100644 | |
--- a/src/citra/CMakeLists.txt | |
+++ b/src/citra/CMakeLists.txt | |
@@ -22,7 +22,7 @@ target_link_libraries(citra core common video_core) | |
target_link_libraries(citra ${OPENGL_gl_LIBRARY} ${GLFW_LIBRARIES} inih) | |
if (APPLE) | |
- target_link_libraries(citra iconv pthread ${COREFOUNDATION_LIBRARY}) | |
+ target_link_libraries(citra iconv pthread ${QUARTZCORE_LIBRARY} ${COREFOUNDATION_LIBRARY}) | |
elseif (WIN32) | |
target_link_libraries(citra winmm) | |
else() # Unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment