소스 검색

Merge pull request #639 from archshift/appbundle

Build app bundles on OS X. Fixes the issue where the menubar would not appear.
archshift 11 년 전
부모
커밋
30e41de347
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/citra_qt/CMakeLists.txt

+ 5 - 1
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})