diff options
| -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 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}) |
| 65 | endif() | 65 | endif() |
| 66 | 66 | ||
| 67 | add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) | 67 | if (APPLE) |
| 68 | add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS}) | ||
| 69 | else() | ||
| 70 | add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) | ||
| 71 | endif() | ||
| 68 | target_link_libraries(citra-qt core common video_core qhexedit) | 72 | target_link_libraries(citra-qt core common video_core qhexedit) |
| 69 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) | 73 | target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) |
| 70 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) | 74 | target_link_libraries(citra-qt ${PLATFORM_LIBRARIES}) |