summaryrefslogtreecommitdiff
path: root/src/citra_qt/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/CMakeLists.txt')
-rw-r--r--src/citra_qt/CMakeLists.txt25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index 594460a71..549f69217 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -8,6 +8,23 @@ set(SRCS
8 main.cpp 8 main.cpp
9 config/controller_config.cpp 9 config/controller_config.cpp
10 config/controller_config_util.cpp) 10 config/controller_config_util.cpp)
11set (HEADERS
12 bootmanager.hxx
13 debugger/callstack.hxx
14 debugger/disassembler.hxx
15 debugger/ramview.hxx
16 debugger/registers.hxx
17 hotkeys.hxx
18 main.hxx
19 ui_callstack.h
20 ui_controller_config.h
21 ui_disassembler.h
22 ui_hotkeys.h
23 ui_main.h
24 ui_registers.h
25 version.h
26 config/controller_config.hxx
27 config/controller_config_util.hxx)
11 28
12qt4_wrap_ui(UI_HDRS 29qt4_wrap_ui(UI_HDRS
13 debugger/callstack.ui 30 debugger/callstack.ui
@@ -32,7 +49,11 @@ qt4_wrap_cpp(MOC_SRCS
32include_directories(${CMAKE_CURRENT_BINARY_DIR}) 49include_directories(${CMAKE_CURRENT_BINARY_DIR})
33include_directories(./) 50include_directories(./)
34 51
35add_executable(citra-qt ${SRCS} ${MOC_SRCS} ${UI_HDRS}) 52add_executable(citra-qt ${SRCS} ${HEADERS} ${MOC_SRCS} ${UI_HDRS})
36target_link_libraries(citra-qt core common video_core qhexedit ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL2_LIBRARY} rt GLEW ${GLFW_LIBRARIES}) 53if (APPLE)
54 target_link_libraries(citra-qt core common video_core qhexedit iconv ${COREFOUNDATION_LIBRARY} ${QT_LIBRARIES} ${GLEW_LIBRARY} ${OPENGL_LIBRARIES})
55else()
56 target_link_libraries(citra-qt core common video_core qhexedit ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL2_LIBRARY} rt GLEW ${GLFW_LIBRARIES})
57endif()
37 58
38#install(TARGETS citra-qt RUNTIME DESTINATION ${bindir}) 59#install(TARGETS citra-qt RUNTIME DESTINATION ${bindir})