summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/CMakeLists.txt
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2015-03-08 01:07:49 +0100
committerarchshift <admin@archshift.com>2015-03-08 01:09:00 +0100
commitc036cf604fd23200bc92dc9a16752aa50ed87d16 (patch)
tree30c58f94b8b032c1702a9eef6e944145ecfc40d2 /src/citra_qt/CMakeLists.txt
parentMerge pull request #638 from bunnei/osx-fix (diff)
downloadyuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.gz
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.bz2
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.lz
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.xz
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.tar.zst
yuzu-c036cf604fd23200bc92dc9a16752aa50ed87d16.zip
Diffstat (limited to 'src/citra_qt/CMakeLists.txt')
-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()
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})