comparison src/gl2ps-2-docpath.patch @ 6183:ad50ef752299

gl2ps: dont install docs to basedir, remove unneeded manual install of files * src/gl2ps-2-docpath.patch: dont set doc dir to . when cross compiling * src/gl2ps.mk: remove unrequired mingw manual install of files
author John Donoghue <john.donoghue@ieee.org>
date Fri, 22 Apr 2022 10:27:33 -0400
parents 6914fa9bf023
children
comparison
equal deleted inserted replaced
6182:71151d858e48 6183:ad50ef752299
4 @@ -156,7 +156,7 @@ 4 @@ -156,7 +156,7 @@
5 ARCHIVE DESTINATION lib${LIB_SUFFIX}) 5 ARCHIVE DESTINATION lib${LIB_SUFFIX})
6 endif() 6 endif()
7 7
8 -if(WIN32) 8 -if(WIN32)
9 +if(WIN32 AND NOT DEFINED ENV{MSYSTEM}) 9 +if(WIN32 AND NOT DEFINED ENV{MSYSTEM} AND NOT CMAKE_CROSSCOMPILING)
10 set(GL2PS_DOC .) 10 set(GL2PS_DOC .)
11 else() 11 else()
12 set(GL2PS_DOC share/doc/gl2ps) 12 set(GL2PS_DOC share/doc/gl2ps)