Revision: 41131
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41131&view=rev
Author:   starseeker
Date:     2010-10-23 21:12:08 +0000 (Sat, 23 Oct 2010)

Log Message:
-----------
Still a lot of work to do, but this gets as far as building tclsh on gentoo

Modified Paths:
--------------
    brlcad/branches/cmake/src/other/tcl/CMakeLists.txt

Modified: brlcad/branches/cmake/src/other/tcl/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2010-10-23 03:13:07 UTC 
(rev 41130)
+++ brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2010-10-23 21:12:08 UTC 
(rev 41131)
@@ -503,10 +503,13 @@
 IF(WIN32)
        SET(TCL_SRCS ${TCL_SRCS} ${TCL_WIN_SRCS})
 ELSE(WIN32)
+       SET(TCL_SRCS ${TCL_SRCS} ${TCL_UNIX_SRCS})
        IF(APPLE)
-               SET(TCL_SRCS ${TCL_SRCS} ${TCL_OSX_SRCS})
+               SET(TCL_SRCS ${TCL_SRCS} ${TCL_OSX_SRCS} unix/tclLoadDyld.c)
        ENDIF(APPLE)
-       SET(TCL_SRCS ${TCL_SRCS} ${TCL_UNIX_SRCS} unix/tclLoadDyld.c)
+       IF(NOT APPLE)
+               SET(TCL_SRCS ${TCL_SRCS} unix/tclLoadDl.c)
+       ENDIF(NOT APPLE)
 ENDIF(WIN32)
 
 SET(TCL_INCLUDE_PATH ${TCL_SOURCE_DIR}/generic ${TCL_SOURCE_DIR}/libtommath 
${TCL_BINARY_DIR}/include)
@@ -527,7 +530,7 @@
 ENDIF(WIN32)
 
 add_library(tcl ${TCL_SRCS})
-target_link_libraries(tcl ${CMAKE_THREAD_LIBS_INIT} 
${COREFOUNDATION_FRAMEWORK})
+target_link_libraries(tcl ${CMAKE_THREAD_LIBS_INIT} 
${COREFOUNDATION_FRAMEWORK} ${M_LIBRARY} ${DL_LIBRARY})
 install(TARGETS tcl DESTINATION lib)
 SET(TCL_LIBRARY tcl)
 


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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to