Commit d6702684 authored by Kevin Funk's avatar Kevin Funk

Port to CMakePackageConfigHelpers

Fixes CMake warning
parent 98d4637f
......@@ -46,12 +46,12 @@ if (UNIX)
find_package(KF5Pty ${KF5_MIN_VERSION} REQUIRED)
endif()
include(CMakePackageConfigHelpers)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMMarkNonGuiExecutable)
include(ECMMarkAsTest)
include(ECMPackageConfigHelpers)
include(ECMOptionalAddSubdirectory)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
......
......@@ -15,7 +15,7 @@ ecm_setup_version(${LIBKIOARCHIVE_VERSION} VARIABLE_PREFIX "KIOARCHIVE"
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KioArchive")
ecm_configure_package_config_file(
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KioArchiveConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KioArchiveConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
......
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