From: <ai...@us...> - 2009-10-27 19:45:10
|
Revision: 10556 http://plplot.svn.sourceforge.net/plplot/?rev=10556&view=rev Author: airwin Date: 2009-10-27 19:44:54 +0000 (Tue, 27 Oct 2009) Log Message: ----------- No need to set global property for each special target to be obtained by the parent CMakeLists.txt file. Instead, in that parent file just use each special target name as appropriate. Modified Paths: -------------- trunk/examples/c/CMakeLists.txt Modified: trunk/examples/c/CMakeLists.txt =================================================================== --- trunk/examples/c/CMakeLists.txt 2009-10-27 19:42:09 UTC (rev 10555) +++ trunk/examples/c/CMakeLists.txt 2009-10-27 19:44:54 UTC (rev 10556) @@ -156,7 +156,6 @@ ) add_executable(plplotcanvas_demo plplotcanvas_demo.c) target_link_libraries(plplotcanvas_demo ${GNOMEPRINTUI_LINK_FLAGS} plplotgnome2${LIB_TAG}) - set_property(GLOBAL PROPERTY TARGET_plplotcanvas_demo plplotcanvas_demo) # plplotcanvas_animation.c contains a reference to gthread_init and also # contains '#include <glib.h>'. Analysis shows both these issues are @@ -172,7 +171,6 @@ ) add_executable(plplotcanvas_animation plplotcanvas_animation.c) target_link_libraries(plplotcanvas_animation ${GNOMEPRINTUI_LINK_FLAGS} ${GTHREAD_2.0_LINK_FLAGS} plplotgnome2${LIB_TAG} ${MATH_LIB}) - set_property(GLOBAL PROPERTY TARGET_plplotcanvas_animation plplotcanvas_animation) else(linkflags2) message(STATUS "WARNING: gthread-2.0 not found. plplotcanvas_animation not built") endif(linkflags2) @@ -193,7 +191,6 @@ ) add_executable(extXdrawable_demo extXdrawable_demo.c) target_link_libraries(extXdrawable_demo ${GTK_X11_LINK_FLAGS} plplot${LIB_TAG}) - set_property(GLOBAL PROPERTY TARGET_extXdrawable_demo extXdrawable_demo) else(linkflags3) message(STATUS "WARNING: gtk+-x11-2.0 not found. extXdrawable_demo not built.") endif(linkflags3) @@ -211,7 +208,6 @@ ) add_executable(ext-cairo-test ext-cairo-test.c) target_link_libraries(ext-cairo-test ${CAIRO_LINK_FLAGS} plplot${LIB_TAG}) - set_property(GLOBAL PROPERTY TARGET_ext-cairo-test ext-cairo-test) else(linkflags4) message(STATUS "WARNING: cairo not found. ext-cairo-test not built.") endif(linkflags4) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |