File: cmake-4.patch

package info (click to toggle)
cmtk 3.3.1p2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,524 kB
  • sloc: cpp: 87,098; ansic: 23,347; sh: 3,896; xml: 1,551; perl: 707; makefile: 334
file content (20 lines) | stat: -rw-r--r-- 668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix FTBFS with CMake 4.
Bug-Debian: https://bugs.debian.org/1112799
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-10-29
---

--- cmtk.orig/CMakeLists.txt
+++ cmtk/CMakeLists.txt
@@ -694,10 +694,6 @@
   SET(CMAKE_SKIP_RPATH TRUE)
 ENDIF(CMTK_BUILD_SHARED_LIBS)
 
-# Save library dependencies.
-EXPORT_LIBRARY_DEPENDENCIES(${CMTK_BINARY_DIR}/CMTKLibraryDepends.cmake)
-INSTALL(FILES ${CMTK_BINARY_DIR}/CMTKLibraryDepends.cmake DESTINATION ${CMTK_INSTALL_LIB_DIR} COMPONENT libraries)
-
 #-----------------------------------------------------------------------------
 # After everything else is done, do we want to build man pages?