Skip to content

Commit

Permalink
Packaging: Make check for theme.qrc more specific #5957
Browse files Browse the repository at this point in the history
Extracted and adjusted from packaging.diff by @jnweiger and @dschmidt
  • Loading branch information
ckamm committed Sep 27, 2017
1 parent 82e8780 commit 9a021d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_subdirectory(updater)

#TODO Move resources files
qt_add_resources(MIRALL_RC_SRC ../../client.qrc)
if ( IS_DIRECTORY ${OEM_THEME_DIR} )
if (EXISTS "${OEM_THEME_DIR}/theme.qrc")
qt_add_resources(MIRALL_RC_SRC ${OEM_THEME_DIR}/theme.qrc)
set(theme_dir ${OEM_THEME_DIR}/theme)
else()
Expand Down

0 comments on commit 9a021d2

Please sign in to comment.