|
From: <ai...@us...> - 2009-11-10 19:04:30
|
Revision: 10578
http://plplot.svn.sourceforge.net/plplot/?rev=10578&view=rev
Author: airwin
Date: 2009-11-10 19:04:24 +0000 (Tue, 10 Nov 2009)
Log Message:
-----------
EXPORT plserver target to make that target available for installed examples
build.
Modified Paths:
--------------
trunk/bindings/tk/CMakeLists.txt
Modified: trunk/bindings/tk/CMakeLists.txt
===================================================================
--- trunk/bindings/tk/CMakeLists.txt 2009-11-10 18:11:15 UTC (rev 10577)
+++ trunk/bindings/tk/CMakeLists.txt 2009-11-10 19:04:24 UTC (rev 10578)
@@ -98,8 +98,8 @@
if(BUILD_SHARED_LIBS)
- SET_SOURCE_FILES_PROPERTIES(plserver.c
- PROPERTIES COMPILE_FLAGS "-DUSINGPLDLL" )
+ set_source_files_properties(plserver.c
+ PROPERTIES COMPILE_FLAGS "-DUSINGPLDLL" )
endif(BUILD_SHARED_LIBS)
add_executable(plserver plserver.c)
@@ -113,7 +113,10 @@
)
endif(USE_RPATH)
- install(TARGETS plserver DESTINATION ${BIN_DIR})
+ install(TARGETS plserver
+ EXPORT export_plplot
+ DESTINATION ${BIN_DIR}
+ )
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tclIndex
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|