generate .pri file
This commit is contained in:
parent
5857d09085
commit
6aed996b34
|
@ -18,6 +18,7 @@ include(KDEFrameworkCompilerSettings)
|
||||||
include(GenerateExportHeader)
|
include(GenerateExportHeader)
|
||||||
|
|
||||||
include(ECMAddAppIcon)
|
include(ECMAddAppIcon)
|
||||||
|
include(ECMGeneratePriFile)
|
||||||
include(ECMInstallIcons)
|
include(ECMInstallIcons)
|
||||||
include(ECMPackageConfigHelpers)
|
include(ECMPackageConfigHelpers)
|
||||||
include(ECMSetupVersion)
|
include(ECMSetupVersion)
|
||||||
|
|
|
@ -82,6 +82,15 @@ ecm_configure_package_config_file( "${CMAKE_CURRENT_SOURCE_DIR}/LibsnoreConfig.
|
||||||
INSTALL_DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX}
|
INSTALL_DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
ecm_generate_pri_file(BASE_NAME Libsnore${SNORE_CamelCase_SUFFIX}
|
||||||
|
LIB_NAME snore${SNORE_SUFFIX}
|
||||||
|
DEPS "core gui widgets network"
|
||||||
|
INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR}
|
||||||
|
FILENAME_VAR pri_filename)
|
||||||
|
|
||||||
|
install(FILES ${pri_filename} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
|
||||||
|
|
||||||
install(TARGETS libsnore EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS libsnore EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
|
|
||||||
install(EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX} NAMESPACE Snore::)
|
install(EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX} NAMESPACE Snore::)
|
||||||
|
|
Loading…
Reference in New Issue