Revision: 42249
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42249&view=rev
Author:   erikgreenwald
Date:     2011-01-13 19:15:09 +0000 (Thu, 13 Jan 2011)

Log Message:
-----------
conditionalize libdl based on OS (should probably be an explicit test 
eventually)

Modified Paths:
--------------
    rt^3/trunk/src/other/sqlite_3_7_4/CMakeLists.txt

Modified: rt^3/trunk/src/other/sqlite_3_7_4/CMakeLists.txt
===================================================================
--- rt^3/trunk/src/other/sqlite_3_7_4/CMakeLists.txt    2011-01-13 18:42:10 UTC 
(rev 42248)
+++ rt^3/trunk/src/other/sqlite_3_7_4/CMakeLists.txt    2011-01-13 19:15:09 UTC 
(rev 42249)
@@ -31,12 +31,6 @@
 #Set Include Dirs
 RT3_PROJECT_ADD_INCLUDE_DIRS()
 
-#Set Libs
-RT3_PROJECT_ADD_LIBS(
-    pthread
-    dl
-)
-
 #set Source files
 RT3_PROJECT_ADD_SOURCES (
        sqlite3.c
@@ -66,12 +60,20 @@
 RT3_PROJECT_ADD_INCLUDE_DIRS()
 
 #Set Libs
+if(LINUX)
 RT3_PROJECT_ADD_LIBS(
     pthread
     dl
     sqlite
 )
+else()
+RT3_PROJECT_ADD_LIBS(
+    pthread
+    sqlite
+)
+endif()
 
+
 #set Source files
 RT3_PROJECT_ADD_SOURCES (
        shell.c


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to