Revision: 44579
http://brlcad.svn.sourceforge.net/brlcad/?rev=44579&view=rev
Author: starseeker
Date: 2011-05-06 20:52:00 +0000 (Fri, 06 May 2011)
Log Message:
-----------
Use stubs on win32
Modified Paths:
--------------
brlcad/trunk/src/other/togl/src/CMakeLists.txt
Modified: brlcad/trunk/src/other/togl/src/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/togl/src/CMakeLists.txt 2011-05-06 20:42:16 UTC
(rev 44578)
+++ brlcad/trunk/src/other/togl/src/CMakeLists.txt 2011-05-06 20:52:00 UTC
(rev 44579)
@@ -99,7 +99,11 @@
add_library(togl SHARED ${TOGL_SRCS})
ADD_DEPENDENCIES(togl togl_stubs_gen)
-target_link_libraries(togl ${TCL_LIBRARY} ${TK_LIBRARY} ${X11_LIBRARIES}
${OPENGL_LIBRARIES})
+IF(WIN32)
+ target_link_libraries(togl ${TCL_STUB_LIBRARIES} ${X11_LIBRARIES}
${OPENGL_LIBRARIES})
+ELSE(WIN32)
+ target_link_libraries(togl ${TCL_LIBRARIES} ${X11_LIBRARIES}
${OPENGL_LIBRARIES})
+ENDIF(WIN32)
install(TARGETS togl 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.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits