File: 30_delete_gl2ps_from_source.patch

package info (click to toggle)
gmsh 4.13.1%2Bds1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 96,160 kB
  • sloc: cpp: 434,242; ansic: 114,885; f90: 15,323; python: 13,442; yacc: 7,299; java: 3,491; lisp: 3,191; lex: 630; perl: 571; makefile: 497; sh: 439; xml: 414; javascript: 113; pascal: 35; modula3: 32
file content (25 lines) | stat: -rw-r--r-- 637 bytes parent folder | download
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
Description: delete gl2ps and use packaged version.
Author: Anton Gladky <gladky.anton@gmail.com>, Julian Taylor <jtaylor.debian@googlemail.com>, Nico Schlömer <nico.schloemer@gmail.com>
Last-Update: 2023-12-18

--- a/src/graphics/CMakeLists.txt
+++ b/src/graphics/CMakeLists.txt
@@ -15,7 +15,6 @@
   drawScales.cpp
   drawGraph2d.cpp
   drawGlyph.cpp
-  gl2ps.cpp
   gl2gif.cpp
   gl2jpeg.cpp
   gl2png.cpp
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1714,6 +1714,8 @@
   endif()
 endif()
 
+list(APPEND LINK_LIBRARIES -lgl2ps -lGL -lglut)
+
 # Linux-specific linker options
 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
   if(HAVE_OCC)