Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
libkmahjongg
Commits
cf08a4a6
Commit
cf08a4a6
authored
Sep 15, 2020
by
Friedrich W. H. Kossebau
Browse files
Port away from ECMPackageConfigHelpers
GIT_SILENT
parent
0887fd38
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cf08a4a6
...
...
@@ -29,7 +29,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include
(
FeatureSummary
)
include
(
GenerateExportHeader
)
include
(
E
CMPackageConfigHelpers
)
include
(
CM
ake
PackageConfigHelpers
)
include
(
ECMSetupVersion
)
include
(
ECMQtDeclareLoggingCategory
)
...
...
@@ -111,7 +111,7 @@ export(TARGETS KF5KMahjongglib
set
(
CMAKECONFIG_INSTALL_DIR
"
${
CMAKECONFIG_INSTALL_PREFIX
}
/KF5KMahjongglib"
)
# create the Config.cmake and ConfigVersion.cmake files
ecm_
configure_package_config_file
(
configure_package_config_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/KF5KMahjongglibConfig.cmake.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/KF5KMahjongglibConfig.cmake"
INSTALL_DESTINATION
${
CMAKECONFIG_INSTALL_DIR
}
...
...
KF5KMahjongglibConfig.cmake.in
View file @
cf08a4a6
...
...
@@ -2,8 +2,9 @@
# Any changes in this file will be overwritten by CMake.
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
find_dependency(KF5ConfigWidgets)
include(CMakeFindDependencyMacro)
find_dependency(Qt5Gui @QT_MIN_VERSION@)
find_dependency(KF5ConfigWidgets @KF5_MIN_VERSION@)
include("${CMAKE_CURRENT_LIST_DIR}/KF5KMahjonggLibraryDepends.cmake")
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment