Revision: 46345
          http://brlcad.svn.sourceforge.net/brlcad/?rev=46345&view=rev
Author:   abhi2011
Date:     2011-08-23 16:40:38 +0000 (Tue, 23 Aug 2011)
Log Message:
-----------
Added detection of bullet dynamic libraries using the stock CMAKE 
FindCMake.cmake module

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2011-08-23 16:30:42 UTC (rev 46344)
+++ brlcad/trunk/CMakeLists.txt 2011-08-23 16:40:38 UTC (rev 46345)
@@ -1003,6 +1003,12 @@
 # IRIX libgen library
 BRLCAD_CHECK_LIBRARY(GEN gen basename)
 
+# Bullet physics library
+FIND_PACKAGE(Bullet)
+IF(BULLET_FOUND)   
+    FILE(APPEND ${CONFIG_H_FILE} "#define HAVE_BULLET 1\n")   
+ENDIF(BULLET_FOUND)
+
 # *******************************************************************
 # ***             Check for Headers - Stage 5 of 9                ***
 # *******************************************************************

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


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to