add version cmake file for PlasmaQuick
add version cmake file for PlasmaQuick this allows Plasma Desktop to be able to set a required KF5 version REVIEW:119881
This commit is contained in:
parent
db6da1eb54
commit
8596689f2c
@ -111,8 +111,13 @@ ecm_configure_package_config_file(
|
|||||||
PATH_VARS KF5_INCLUDE_INSTALL_DIR CMAKE_INSTALL_PREFIX
|
PATH_VARS KF5_INCLUDE_INSTALL_DIR CMAKE_INSTALL_PREFIX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ecm_setup_version(${KF5_VERSION}
|
||||||
|
VARIABLE_PREFIX PLASMAQUICK
|
||||||
|
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PlasmaQuickConfigVersion.cmake" )
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/KF5PlasmaQuickConfig.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/KF5PlasmaQuickConfig.cmake"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/KF5PlasmaQuickConfigVersion.cmake"
|
||||||
DESTINATION "${CMAKECONFIG_INSTALL_DIR}" COMPONENT Devel
|
DESTINATION "${CMAKECONFIG_INSTALL_DIR}" COMPONENT Devel
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user