Merge pull request #3295 from lioncash/qt4

citra_qt: CMakeLists: Drop leftover handling code for Qt 4 UI files
This commit is contained in:
Mat M 2017-12-15 19:49:22 -05:00 committed by GitHub
commit d3112aedba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,11 +85,7 @@ set(UIS
file(GLOB_RECURSE ICONS ${CMAKE_SOURCE_DIR}/dist/icons/*) file(GLOB_RECURSE ICONS ${CMAKE_SOURCE_DIR}/dist/icons/*)
file(GLOB_RECURSE THEMES ${CMAKE_SOURCE_DIR}/dist/qt_themes/*) file(GLOB_RECURSE THEMES ${CMAKE_SOURCE_DIR}/dist/qt_themes/*)
if (Qt5_FOUND)
qt5_wrap_ui(UI_HDRS ${UIS}) qt5_wrap_ui(UI_HDRS ${UIS})
else()
qt4_wrap_ui(UI_HDRS ${UIS})
endif()
target_sources(citra-qt target_sources(citra-qt
PRIVATE PRIVATE