view src/gl2ps-2-docpath.patch @ 7121:8f0fda49179a

of-geometry: update to v4.1.0 * src/of-geometry.mk: update to v4.1.0 * src/of-geometry-1-cxx17.patch: deleted file * dist-files.mk: remove ref to deleted file
author John Donoghue <john.donoghue@ieee.org>
date Sun, 24 Mar 2024 17:27:41 -0400
parents ad50ef752299
children
line wrap: on
line source

diff -ru gl2ps-1.4.2.orig/CMakeLists.txt gl2ps-1.4.2/CMakeLists.txt
--- gl2ps-1.4.2.orig/CMakeLists.txt	2020-04-25 16:44:55.536814745 -0400
+++ gl2ps-1.4.2/CMakeLists.txt	2020-05-07 19:08:35.538729120 -0400
@@ -156,7 +156,7 @@
                              ARCHIVE DESTINATION lib${LIB_SUFFIX})
 endif()
 
-if(WIN32)
+if(WIN32 AND NOT DEFINED ENV{MSYSTEM} AND NOT CMAKE_CROSSCOMPILING)
   set(GL2PS_DOC .)
 else()
   set(GL2PS_DOC share/doc/gl2ps)