Commit 82400960 authored by Fabian Vogt's avatar Fabian Vogt

Revert "fix: components dir content is duplicated for sddm"

This reverts commit 29ea3d65.
It doesn't honour DESTDIR and so broke package builds.
parent 7c5f16c4
......@@ -178,11 +178,8 @@ if (INSTALL_SDDM_THEME)
install(DIRECTORY sddm-theme/ DESTINATION ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze PATTERN "README.txt" EXCLUDE PATTERN "components" EXCLUDE PATTERN "dummydata" EXCLUDE
PATTERN "theme.conf.cmake" EXCLUDE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sddm-theme/theme.conf DESTINATION ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze)
install(CODE "if (NOT EXISTS ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze/components)
file(RELATIVE_PATH relpath ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze ${KDE_INSTALL_FULL_DATADIR}/plasma/look-and-feel/org.kde.breeze.desktop/contents/components)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \${relpath} ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze/components)
endif()"
)
install(DIRECTORY lookandfeel/contents/components DESTINATION ${KDE_INSTALL_FULL_DATADIR}/sddm/themes/breeze PATTERN "README.txt" EXCLUDE)
endif()
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment