projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08bc219
)
Packaging: Make check for theme.qrc more specific #5957
author
Christian Kamm
<mail@ckamm.de>
Fri, 22 Sep 2017 08:28:08 +0000
(10:28 +0200)
committer
Roeland Jago Douma
<roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:37 +0000
(22:01 +0200)
Extracted and adjusted from packaging.diff by @jnweiger and @dschmidt
src/gui/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/gui/CMakeLists.txt
b/src/gui/CMakeLists.txt
index f7cc0a9db6fb96105a186ecb9447570eb35465a8..bf577b454af58d56fb52632f3e5c66b5a9b7ceb5 100644
(file)
--- a/
src/gui/CMakeLists.txt
+++ b/
src/gui/CMakeLists.txt
@@
-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()