Revision: 41003
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41003&view=rev
Author:   starseeker
Date:     2010-10-15 17:45:02 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
Add target link libraries (thanks OSX)

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

Modified: brlcad/branches/cmake/src/other/tkhtml/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tkhtml/CMakeLists.txt       2010-10-15 
05:02:07 UTC (rev 41002)
+++ brlcad/branches/cmake/src/other/tkhtml/CMakeLists.txt       2010-10-15 
17:45:02 UTC (rev 41003)
@@ -54,6 +54,7 @@
 )
 
 add_library(Tkhtml SHARED ${TKHTML_SRCS})
+target_link_libraries(Tkhtml ${TCL_LIBRARY} ${TK_LIBRARY} ${X11_LIBRARIES})
 install(TARGETS Tkhtml DESTINATION lib)
 
 # Create the pkgIndex.tcl file.

Modified: brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt        2010-10-15 
05:02:07 UTC (rev 41002)
+++ brlcad/branches/cmake/src/other/tkpng/CMakeLists.txt        2010-10-15 
17:45:02 UTC (rev 41003)
@@ -3,6 +3,7 @@
                  ${CMAKE_CURRENT_BINARY_DIR}
                  ${TCL_INCLUDE_PATH}
                  ${TK_INCLUDE_PATH}
+                 ${ZLIB_INCLUDE_DIR}
                  ${X11_INCLUDE_DIR}
                  )
 
@@ -15,6 +16,7 @@
 )
 
 add_library(tkpng SHARED ${TKPNG_SRCS})
+target_link_libraries(tkpng ${TCL_LIBRARY} ${TK_LIBRARY} ${ZLIB_LIBRARY} 
${X11_LIBRARIES})
 install(TARGETS tkpng DESTINATION lib)
 
 # Create the pkgIndex.tcl file.


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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to