Mathieu Malaterre pushed to branch master at Debian Med / ismrmrd
Commits: 85df4ccb by Mathieu Malaterre at 2022-03-21T15:02:48+01:00 d/patches: Adapt static build to latest version - - - - - 1 changed file: - debian/patches/add_static_lib.patch Changes: ===================================== debian/patches/add_static_lib.patch ===================================== @@ -2,24 +2,27 @@ Author: Andreas Tille <[email protected]> Last-Update: Sun, 20 Sep 2020 08:09:49 +0200 Description: Add static library ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -214,6 +214,7 @@ endif () +Index: ismrmrd/CMakeLists.txt +=================================================================== +--- ismrmrd.orig/CMakeLists.txt ++++ ismrmrd/CMakeLists.txt +@@ -214,7 +214,9 @@ endif () # main library add_library(ismrmrd SHARED ${ISMRMRD_TARGET_SOURCES}) +add_library(ismrmrd_static STATIC ${ISMRMRD_TARGET_SOURCES}) target_include_directories(ismrmrd PUBLIC ${ISMRMRD_TARGET_INCLUDE_DIRS}) ++target_include_directories(ismrmrd_static PUBLIC ${ISMRMRD_TARGET_INCLUDE_DIRS}) if (USE_HDF5_DATASET_SUPPORT) target_compile_options(ismrmrd PUBLIC ${HDF5_DEFINITIONS}) -@@ -228,7 +229,13 @@ set_target_properties(ismrmrd + endif() +@@ -228,7 +230,12 @@ set_target_properties(ismrmrd PROPERTIES EXPORT_NAME ISMRMRD) +set_target_properties(ismrmrd_static + PROPERTIES + EXPORT_NAME ISMRMRD -+ INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_INTERFACE:include> + OUTPUT_NAME "ismrmrd") target_link_libraries(ismrmrd ${ISMRMRD_TARGET_LINK_LIBS}) +target_link_libraries(ismrmrd_static ${ISMRMRD_TARGET_LINK_LIBS}) View it on GitLab: https://salsa.debian.org/med-team/ismrmrd/-/commit/85df4ccbe994c42e3aa5d14f4f83a966fa99f1cb -- View it on GitLab: https://salsa.debian.org/med-team/ismrmrd/-/commit/85df4ccbe994c42e3aa5d14f4f83a966fa99f1cb You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
