mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Fix CMake warning
CMake Warning (dev) at /home/kfunk/devel/install/kf5/share/ECM/modules/ECMPackageConfigHelpers.cmake:84 (message): Your project already requires a version of CMake that includes the find_dependency macro via the CMakeFindDependencyMacro module. You should use CMakePackageConfigHelpers instead of ECMPackageConfigHelpers.
This commit is contained in:
parent
29ddae55b5
commit
a2bb8fbb46
|
@ -25,7 +25,7 @@ include(KDEInstallDirs)
|
|||
include(KDECMakeSettings)
|
||||
include(ECMAddTests)
|
||||
include(ECMAddAppIcon)
|
||||
include(ECMPackageConfigHelpers)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
ecm_setup_version(${PROJECT_VERSION}
|
||||
VARIABLE_PREFIX OKULAR
|
||||
|
@ -361,7 +361,7 @@ install( FILES okular.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
|
|||
########### cmake files #################
|
||||
|
||||
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/Okular5")
|
||||
ecm_configure_package_config_file(
|
||||
configure_package_config_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/Okular5Config.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Okular5Config.cmake"
|
||||
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
|
||||
|
|
Loading…
Reference in a new issue