1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Description: This patch makes libacbf static so it isn't a public library.
Also, disable the installation of the related development bits.
Author: Simon Quigley <tsimonq2@ubuntu.com>
Author: Pino Toscano <pino@debian.org>
Last-Update: 2021-08-16
--- a/src/acbf/CMakeLists.txt
+++ b/src/acbf/CMakeLists.txt
@@ -63,7 +63,7 @@ ecm_qt_declare_logging_category(acbf_SRC
EXPORT AdvancedComicBookFormat
)
-add_library(acbf SHARED ${acbf_SRCS})
+add_library(acbf STATIC ${acbf_SRCS})
include(ECMGenerateExportHeader)
ecm_generate_export_header(acbf
EXPORT_FILE_NAME acbf_export.h
@@ -133,20 +133,6 @@ configure_package_config_file(
INSTALL_DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
)
-install(FILES
- "${CMAKE_CURRENT_BINARY_DIR}/AdvancedComicBookFormatConfig.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/AdvancedComicBookFormatConfigVersion.cmake"
- DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
- COMPONENT Devel
-)
-install(FILES
- ${acbf_HEADERS}
- ${CMAKE_CURRENT_BINARY_DIR}/acbf_version.h
- DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}/AdvancedComicBookFormat" COMPONENT Devel
-)
-
-install(TARGETS acbf EXPORT AdvancedComicBookFormatTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
-install(EXPORT AdvancedComicBookFormatTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE AdvancedComicBookFormatTargets.cmake )
ecm_qt_install_logging_categories(
EXPORT AdvancedComicBookFormat
FILE AdvancedComicBookFormat.categories
|