Revision: 77679
          http://sourceforge.net/p/brlcad/code/77679
Author:   starseeker
Date:     2020-11-04 14:34:58 +0000 (Wed, 04 Nov 2020)
Log Message:
-----------
The openNURBS static target needs zlib.h in place, but doesn't have the 
linkages to set up the dependencies.  Do so explicitly.

Modified Paths:
--------------
    brlcad/branches/extbuild/src/other/openNURBS/CMakeLists.txt

Modified: brlcad/branches/extbuild/src/other/openNURBS/CMakeLists.txt
===================================================================
--- brlcad/branches/extbuild/src/other/openNURBS/CMakeLists.txt 2020-11-04 
14:26:08 UTC (rev 77678)
+++ brlcad/branches/extbuild/src/other/openNURBS/CMakeLists.txt 2020-11-04 
14:34:58 UTC (rev 77679)
@@ -360,6 +360,9 @@
 
   if(BUILD_STATIC_LIBS)
     add_library(openNURBS-static STATIC ${OPENNURBS_SOURCES})
+    if(TARGET zlib_stage)
+      add_dependencies(openNURBS-static zlib_stage)
+    endif(TARGET zlib_stage)
   endif(BUILD_STATIC_LIBS)
 
 else(NOT USE_OBJECT_LIBS)
@@ -382,6 +385,9 @@
   endif(BUILD_SHARED_LIBS)
   if(BUILD_STATIC_LIBS)
     add_library(openNURBS-static STATIC $<TARGET_OBJECTS:openNURBS-obj>)
+    if(TARGET zlib_stage)
+      add_dependencies(openNURBS-static zlib_stage)
+    endif(TARGET zlib_stage)
   endif(BUILD_STATIC_LIBS)
 endif(NOT USE_OBJECT_LIBS)
 

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