mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
generate .pri file
This commit is contained in:
parent
5857d09085
commit
6aed996b34
@ -18,6 +18,7 @@ include(KDEFrameworkCompilerSettings)
|
||||
include(GenerateExportHeader)
|
||||
|
||||
include(ECMAddAppIcon)
|
||||
include(ECMGeneratePriFile)
|
||||
include(ECMInstallIcons)
|
||||
include(ECMPackageConfigHelpers)
|
||||
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}
|
||||
)
|
||||
|
||||
|
||||
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(EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX} NAMESPACE Snore::)
|
||||
|
Loading…
x
Reference in New Issue
Block a user