[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kwallet] src/api/KWallet: Use ecm_configure_package_config_file
From: Alex Merry <kde () randomguy3 ! me ! uk>
Date: 2014-02-18 19:46:42
Message-ID: E1WFqcs-0005TK-6K () scm ! kde ! org
[Download RAW message or body]
Git commit 1b56863b5f3412dbee048bc837e702c2938d79ca by Alex Merry.
Committed on 18/02/2014 at 16:19.
Pushed by alexmerry into branch 'master'.
Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
-e 's/\<\(configure_package_config_file\)/ecm_\1/' \
CMakeLists.txt
See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
M +2 -2 src/api/KWallet/CMakeLists.txt
http://commits.kde.org/kwallet-framework/1b56863b5f3412dbee048bc837e702c293=
8d79ca
diff --git a/src/api/KWallet/CMakeLists.txt b/src/api/KWallet/CMakeLists.txt
index 90a1730..147e6aa 100644
--- a/src/api/KWallet/CMakeLists.txt
+++ b/src/api/KWallet/CMakeLists.txt
@@ -29,9 +29,9 @@ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
# create a Config.cmake and a ConfigVersion.cmake file and install them
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Wallet")
=
-include(CMakePackageConfigHelpers)
+include(ECMPackageConfigHelpers)
=
-configure_package_config_file(
+ecm_configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5WalletConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5WalletConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic