Blob Blame History Raw
diff -rupN --no-dereference gmsh-4.6.0-source/CMakeLists.txt gmsh-4.6.0-source-new/CMakeLists.txt
--- gmsh-4.6.0-source/CMakeLists.txt	2020-06-23 09:36:33.165201099 +0200
+++ gmsh-4.6.0-source-new/CMakeLists.txt	2020-06-23 09:36:33.301200402 +0200
@@ -1607,6 +1607,8 @@ if(NOT ENABLE_BUILD_DYNAMIC AND NOT ENAB
   endif()
 endif()
 
+list(APPEND LINK_LIBRARIES -lgl2ps -lGL)
+
 # Linux-specific linking
 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
   if(HAVE_OCC)
diff -rupN --no-dereference gmsh-4.6.0-source/Graphics/CMakeLists.txt gmsh-4.6.0-source-new/Graphics/CMakeLists.txt
--- gmsh-4.6.0-source/Graphics/CMakeLists.txt	2020-03-28 12:28:04.000000000 +0100
+++ gmsh-4.6.0-source-new/Graphics/CMakeLists.txt	2020-06-23 09:36:33.301200402 +0200
@@ -15,7 +15,6 @@ set(SRC
   drawScales.cpp 
   drawGraph2d.cpp 
   drawGlyph.cpp 
-  gl2ps.cpp
   gl2gif.cpp
   gl2jpeg.cpp
   gl2png.cpp