Revision: 77788
          http://sourceforge.net/p/brlcad/code/77788
Author:   starseeker
Date:     2020-11-21 17:43:45 +0000 (Sat, 21 Nov 2020)
Log Message:
-----------
Will need to adjust ZLIB library passed to other builds - test with png.

Modified Paths:
--------------
    brlcad/branches/extbuild/src/other/ext/png.cmake

Modified: brlcad/branches/extbuild/src/other/ext/png.cmake
===================================================================
--- brlcad/branches/extbuild/src/other/ext/png.cmake    2020-11-21 17:37:52 UTC 
(rev 77787)
+++ brlcad/branches/extbuild/src/other/ext/png.cmake    2020-11-21 17:43:45 UTC 
(rev 77788)
@@ -57,6 +57,8 @@
 
   if (MSVC)
     set(ZLIB_LIBRARY ${CMAKE_BINARY_ROOT}/${LIB_DIR}/${ZLIB_BASENAME}.lib)
+  elseif (OPENBSD)
+    set(ZLIB_LIBRARY 
${CMAKE_BINARY_ROOT}/${LIB_DIR}/${ZLIB_BASENAME}${CMAKE_SHARED_LIBRARY_SUFFIX}.1)
   else (MSVC)
     set(ZLIB_LIBRARY 
${CMAKE_BINARY_ROOT}/${LIB_DIR}/${ZLIB_BASENAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
   endif (MSVC)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to