Revision: 44873
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44873&view=rev
Author:   d_rossberg
Date:     2011-06-09 14:41:53 +0000 (Thu, 09 Jun 2011)

Log Message:
-----------
now there will be build a static zlib library too if the BUILD_STATIC_LIBS flag 
is set

Modified Paths:
--------------
    brlcad/trunk/src/other/libz/CMakeLists.txt

Modified: brlcad/trunk/src/other/libz/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/libz/CMakeLists.txt  2011-06-09 14:37:18 UTC (rev 
44872)
+++ brlcad/trunk/src/other/libz/CMakeLists.txt  2011-06-09 14:41:53 UTC (rev 
44873)
@@ -131,6 +131,11 @@
 endif(MINGW)
 
 add_library(zlib ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
+
+if(BUILD_STATIC_LIBS)
+    add_library(zlib-static STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} 
${ZLIB_PRIVATE_HDRS})
+endif(BUILD_STATIC_LIBS)
+
 set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
 
 set_target_properties(zlib PROPERTIES SOVERSION 1)


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

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to