summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar archshift2015-03-07 16:07:49 -0800
committerGravatar archshift2015-03-07 16:09:00 -0800
commitc036cf604fd23200bc92dc9a16752aa50ed87d16 (patch)
tree30c58f94b8b032c1702a9eef6e944145ecfc40d2
parentMerge pull request #638 from bunnei/osx-fix (diff)
downloadyuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.gz
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.xz
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.zip
Build app bundles on OS X. Fixes the issue where the menubar would not appear.
-rw-r--r--src/citra_qt/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index a1ad00f57..ff780cad4 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -64,7 +64,11 @@ else()
64 qt4_wrap_ui(UI_HDRS ${UIS}) 64 qt4_wrap_ui(UI_HDRS ${UIS})
65endif() 65endif()
66 66
67add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) 67if (APPLE)
68 add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS})
69else()
70 add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
71endif()
68target_link_libraries(citra-qt core common video_core qhexedit) 72target_link_libraries(citra-qt core common video_core qhexedit)
69target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) 73target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
70target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) 74target_link_libraries(citra-qt ${PLATFORM_LIBRARIES})