forked from pool/insighttoolkit
85caa88428
* Update to version 5.1.0: See https://blog.kitware.com/itk-5-1-0-available-for-download/. * Drop dcmtk-cmake.patch: no longer needed when using system dcmtk. * Update itklbfgs-linking.patch and nrrdio-linking.patch to upstream-blessed versions (minor changes only) [gh#InsightSoftwareConsortium/ITK#1867, gh#InsightSoftwareConsortium/ITK#1878]. * New BuildRequires: pkgconfig(libpcrecpp) and bison. * Drop BuildRequires: tcpd-devel, no longer needed. * Add necessary Requires: python3-numpy to python3-%{name} package. * Update Requires for devel package and convert existing Requires to pkgconfig equivalents where possible. * Pass -DITK_USE_SYSTEM_SWIG:BOOL=ON to cmake, otherwise it defaults to OFF and tries to download swig. * Drop -DITK_USE_STRICT_CONCEPT_CHECKING:BOOL=ON option passed to cmake: no longer used. * Drop -DITK_WRAPPING option passed to cmake: obsoleted by -DITK_WRAP_PYTHON. * No longer need to `export CXXFLAGS+=" -I%{_includedir}/gdcm/"` [gh#InsightSoftwareConsortium/ITK#1768]. * Drop Group tags. * Improve Summary and descriptions for packages. OBS-URL: https://build.opensuse.org/request/show/817843 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/insighttoolkit?expand=0&rev=22
16 lines
698 B
Diff
16 lines
698 B
Diff
Index: InsightToolkit-5.1.0/Modules/ThirdParty/libLBFGS/src/CMakeLists.txt
|
|
===================================================================
|
|
--- InsightToolkit-5.1.0.orig/Modules/ThirdParty/libLBFGS/src/CMakeLists.txt
|
|
+++ InsightToolkit-5.1.0/Modules/ThirdParty/libLBFGS/src/CMakeLists.txt
|
|
@@ -17,6 +17,10 @@ set(ITK3P_INSTALL_RUNTIME_DIR "${ITKLIBL
|
|
set(ITK3P_INSTALL_LIBRARY_DIR "${ITKLIBLBFGS_INSTALL_LIBRARY_DIR}")
|
|
set(ITK3P_INSTALL_ARCHIVE_DIR "${ITKLIBLBFGS_INSTALL_ARCHIVE_DIR}")
|
|
|
|
+IF(UNIX)
|
|
+ TARGET_LINK_LIBRARIES(itklbfgs m)
|
|
+ENDIF(UNIX)
|
|
+
|
|
INSTALL(TARGETS itklbfgs
|
|
EXPORT ${ITK3P_INSTALL_EXPORT_NAME}
|
|
RUNTIME DESTINATION ${ITK3P_INSTALL_RUNTIME_DIR} COMPONENT RuntimeLibraries
|