diff -rupN --no-dereference gmsh-4.5.6-source/CMakeLists.txt gmsh-4.5.6-source-new/CMakeLists.txt
--- gmsh-4.5.6-source/CMakeLists.txt 2020-04-06 23:51:16.640659612 +0200
+++ gmsh-4.5.6-source-new/CMakeLists.txt 2020-04-06 23:51:16.777659902 +0200
@@ -1615,6 +1615,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.5.6-source/Graphics/CMakeLists.txt gmsh-4.5.6-source-new/Graphics/CMakeLists.txt
--- gmsh-4.5.6-source/Graphics/CMakeLists.txt 2020-03-28 12:28:04.000000000 +0100
+++ gmsh-4.5.6-source-new/Graphics/CMakeLists.txt 2020-04-06 23:51:16.777659902 +0200
@@ -15,7 +15,6 @@ set(SRC
drawScales.cpp
drawGraph2d.cpp
drawGlyph.cpp
- gl2ps.cpp
gl2gif.cpp
gl2jpeg.cpp
gl2png.cpp