Skip to content
Permalink
Browse files
Merge pull request #6396 from spycrab/qt_osx_theme
CMake/OSX: Fix missing QMacStylePlugin
  • Loading branch information
Helios747 committed Feb 24, 2018
2 parents 941ddfb + 5ddbb34 commit a3674e3
Showing 1 changed file with 4 additions and 0 deletions.
@@ -182,6 +182,10 @@ if(APPLE)
target_sources(${DOLPHINQT2_BINARY} PRIVATE "${qtcocoa_location}")
set_source_files_properties("${qtcocoa_location}" PROPERTIES MACOSX_PACKAGE_LOCATION MacOS/platforms)

get_target_property(qtmacstyle_location Qt5::QMacStylePlugin LOCATION)
target_sources(${DOLPHINQT2_BINARY} PRIVATE "${qtmacstyle_location}")
set_source_files_properties("${qtmacstyle_location}" PROPERTIES MACOSX_PACKAGE_LOCATION MacOS/styles)

# Copy resources into the bundle
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/Data/Sys")
file(GLOB_RECURSE resources RELATIVE "${CMAKE_SOURCE_DIR}/Data" "${CMAKE_SOURCE_DIR}/Data/Sys/*")

0 comments on commit a3674e3

Please sign in to comment.