diff options
author | Kloen <kloen@outlawkiwi.com> | 2017-06-24 02:39:42 +0200 |
---|---|---|
committer | Kloen <kloen@outlawkiwi.com> | 2017-06-24 05:48:42 +0200 |
commit | 1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255 (patch) | |
tree | 009cc2335e29b8e71173ef7031c9a0f8d7e3cfd0 /src | |
parent | citra-qt: add new uisetting->theme (diff) | |
download | yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar.gz yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar.bz2 yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar.lz yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar.xz yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.tar.zst yuzu-1355f0f39e0e66aa6ed7e8a9a2ac122b57a62255.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/citra_qt/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index 4841cbf05..2f4e04282 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -1,4 +1,5 @@ set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) @@ -75,6 +76,8 @@ set(UIS main.ui ) +file(GLOB_RECURSE THEMES ${CMAKE_SOURCE_DIR}/dist/qt_themes/*) + create_directory_groups(${SRCS} ${HEADERS} ${UIS}) if (Qt5_FOUND) @@ -86,10 +89,10 @@ endif() if (APPLE) set(MACOSX_ICON "../../dist/citra.icns") set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) - add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON}) + add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${THEMES} ${MACOSX_ICON}) set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) else() - add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) + add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS} ${THEMES}) endif() target_link_libraries(citra-qt PRIVATE audio_core common core input_common video_core) target_link_libraries(citra-qt PRIVATE Boost::boost glad nihstro-headers Qt5::OpenGL Qt5::Widgets) |