Debian Codegraph @

debian/patches/020260105~7ec4234.patch

raw symbols SCIP
1 Descriptionscip-debian debian astroidmail 0.17+ds-3 astroidmail/patches/`020260105~7ec4234.patch`#Description.: adapt CMakeLists.txt to new cmake versions (e.g. >= 3.29)
2 Authorscip-debian debian astroidmail 0.17+ds-3 astroidmail/patches/`020260105~7ec4234.patch`#Author.: Johannes Rosenberger <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Sourcescip-debian debian astroidmail 0.17+ds-3 astroidmail/patches/`020260105~7ec4234.patch`#Source.: upstream, https://github.com/astroidmail/astroid/commit/7ec4234
4 Bug-Debianscip-debian debian astroidmail 0.17+ds-3 astroidmail/patches/`020260105~7ec4234.patch`#Bug-Debian.: https://bugs.debian.org/1127169scip-debian-bts debian-bts . . 1127169:
5 Last-Updatescip-debian debian astroidmail 0.17+ds-3 astroidmail/patches/`020260105~7ec4234.patch`#Last-Update.: 2026-02-09
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 --- a/CMakeLists.txtscip-debian debian astroidmail 0.17+ds-3 astroidmail/upstream/`CMakeLists.txt`:
9 +++ b/CMakeLists.txtscip-debian debian astroidmail 0.17+ds-3 astroidmail/upstream/`CMakeLists.txt`:
10 @@ -1,7 +1,12 @@
11 ##
12 # This MUST be the first line
13 #
14 -cmake_minimum_required (VERSION 3.9)
15 +cmake_minimum_required (VERSION 3.9...3.31)
16 +
17 +# about finding boost
18 +if (POLICY CMP0167)
19 + cmake_policy(SET CMP0167 NEW)
20 +endif()
21
22 ##
23 # project name
24 @@ -11,7 +16,7 @@
25 ##
26 # don't use obscure build types, but only Debug and Release
27 #
28 -set (CMAKE_CONFIGURATION_TYPES Debug Release CACHE TYPE INTERNAL FORCE)
29 +set (CMAKE_CONFIGURATION_TYPES Debug Release CACHE STRING INTERNAL FORCE)
30 message (STATUS "Available config types: ${CMAKE_CONFIGURATION_TYPES}")
31
32 ##
33 @@ -404,8 +409,10 @@
34 if(DISABLE_LIBSASS)
35 message (STATUS "Generating thread-view.css")
36 add_custom_command ( TARGET astroid
37 + POST_BUILD
38 COMMAND ${SCSS_COMPILER} ${CMAKE_SOURCE_DIR}/ui/thread-view.scss ${CMAKE_BINARY_DIR}/thread-view.css )
39 add_custom_command ( TARGET astroid
40 + POST_BUILD
41 COMMAND ${SCSS_COMPILER} ${CMAKE_SOURCE_DIR}/ui/part.scss ${CMAKE_BINARY_DIR}/part.css )
42 endif()
43
44 @@ -417,6 +424,7 @@
45 if (SCDOC)
46 add_custom_command (
47 TARGET astroid
48 + POST_BUILD
49 COMMAND ${SCDOC} < ${CMAKE_SOURCE_DIR}/doc/astroid.1.scd | gzip > ${CMAKE_BINARY_DIR}/astroid.1.gz
50 COMMENT "Generating man page (scdoc)")
51 else ()
52 @@ -424,6 +432,7 @@
53 message (WARNING "Falling back to 'ronn' for man page generation.")
54 add_custom_command (
55 TARGET astroid
56 + POST_BUILD
57 COMMAND ${RONN} --roff --pipe ${CMAKE_SOURCE_DIR}/doc/astroid.1.scd | gzip > ${CMAKE_BINARY_DIR}/astroid.1.gz
58 COMMENT "Generating man page (ronn)")
59 else ()