Fix build errors if PREFIX is different from ECM's PREFIX.

See <https://bugs.kde.org/424483> for details
This commit is contained in:
Hartmut Goebel 2020-08-03 19:49:58 +00:00 committed by David Edmundson
parent 4a9e57b7df
commit ff5ed26f21

View File

@ -1,6 +1,5 @@
find_package(ECM 1.6.0 CONFIG REQUIRED)
include(${ECM_KDE_MODULE_DIR}/KDEInstallDirs.cmake)
include(KDEInstallDirs)
set(PLASMA_RELATIVE_DATA_INSTALL_DIR "plasma")
set(PLASMA_DATA_INSTALL_DIR "${KDE_INSTALL_DATADIR}/${PLASMA_RELATIVE_DATA_INSTALL_DIR}")