From: <ai...@us...> - 2013-12-19 20:56:29
|
Revision: 12891 http://sourceforge.net/p/plplot/code/12891 Author: airwin Date: 2013-12-19 20:56:26 +0000 (Thu, 19 Dec 2013) Log Message: ----------- Replace cmake -E copy with more appropriate cmake -E copy_if_different. Modified Paths: -------------- trunk/plplot_test/CMakeLists.txt Modified: trunk/plplot_test/CMakeLists.txt =================================================================== --- trunk/plplot_test/CMakeLists.txt 2013-12-19 20:45:09 UTC (rev 12890) +++ trunk/plplot_test/CMakeLists.txt 2013-12-19 20:56:26 UTC (rev 12891) @@ -521,7 +521,7 @@ # tree so that example 20 will run from there. add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lena.pgm - COMMAND ${CMAKE_COMMAND} -E copy + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/examples/lena.pgm ${CMAKE_CURRENT_BINARY_DIR}/lena.pgm DEPENDS ${CMAKE_SOURCE_DIR}/examples/lena.pgm @@ -531,7 +531,7 @@ # Also need a copy of lena.img for the octave bindings add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lena.img - COMMAND ${CMAKE_COMMAND} -E copy + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/examples/octave/lena.img ${CMAKE_CURRENT_BINARY_DIR}/lena.img DEPENDS ${CMAKE_SOURCE_DIR}/examples/octave/lena.img This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |