diff options
author | archshift <admin@archshift.com> | 2015-03-07 18:15:10 -0800 |
---|---|---|
committer | archshift <admin@archshift.com> | 2015-03-07 18:15:10 -0800 |
commit | 30e41de3471814339d6cf0f5cc5b18d2258fa567 (patch) | |
tree | 3cb600688d0a6ec3fa2b92ad27f2577dd38d36f1 | |
parent | c7b3331b1c823440d5ca1a9ae31aa3be68a0140a (diff) | |
parent | c036cf604fd23200bc92dc9a16752aa50ed87d16 (diff) |
Merge pull request #639 from archshift/appbundle
Build app bundles on OS X. Fixes the issue where the menubar would not appear.
-rw-r--r-- | src/citra_qt/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index a1ad00f5..ff780cad 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -64,7 +64,11 @@ else() qt4_wrap_ui(UI_HDRS ${UIS}) endif() -add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) +if (APPLE) + add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS}) +else() + add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) +endif() target_link_libraries(citra-qt core common video_core qhexedit) target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) |