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

This change breaks the build for applications that have no dependency
on ECM (eg: ikona).

A similar change was also reverted in kpackage for the same reason.

This reverts commit ff5ed26f21.
This commit is contained in:
Christophe Giboudeaux 2021-02-01 12:02:02 +01:00
parent 33660db124
commit ac9562606c

View File

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