|
From: <ai...@us...> - 2014-01-10 01:45:38
|
Revision: 12928
http://sourceforge.net/p/plplot/code/12928
Author: airwin
Date: 2014-01-10 01:45:35 +0000 (Fri, 10 Jan 2014)
Log Message:
-----------
Only link the pltcl executable to libitcl when appropriate.
Modified Paths:
--------------
trunk/bindings/tcl/CMakeLists.txt
Modified: trunk/bindings/tcl/CMakeLists.txt
===================================================================
--- trunk/bindings/tcl/CMakeLists.txt 2014-01-10 01:44:07 UTC (rev 12927)
+++ trunk/bindings/tcl/CMakeLists.txt 2014-01-10 01:45:35 UTC (rev 12928)
@@ -580,7 +580,11 @@
add_executable(pltcl pltcl.c)
- target_link_libraries(pltcl plplot${LIB_TAG} plplottcltk_Main${LIB_TAG} plplottcltk${LIB_TAG} ${ITCL_LIBRARY} ${TCL_LIBRARY})
+ if(ENABLE_itcl)
+ target_link_libraries(pltcl plplot${LIB_TAG} plplottcltk_Main${LIB_TAG} plplottcltk${LIB_TAG} ${ITCL_LIBRARY} ${TCL_LIBRARY})
+ else(ENABLE_itcl)
+ target_link_libraries(pltcl plplot${LIB_TAG} plplottcltk_Main${LIB_TAG} plplottcltk${LIB_TAG} ${TCL_LIBRARY})
+ endif(ENABLE_itcl)
if(USE_RPATH)
set_target_properties(pltcl
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|