From: <ai...@us...> - 2009-10-27 19:42:23
|
Revision: 10555 http://plplot.svn.sourceforge.net/plplot/?rev=10555&view=rev Author: airwin Date: 2009-10-27 19:42:09 +0000 (Tue, 27 Oct 2009) Log Message: ----------- Use plhershey-unicode-gen target as a COMMAND. Contrary to my previous belief, this gives correct file and target dependencies both for 2.6.0 and 2.6.4. Modified Paths: -------------- trunk/include/CMakeLists.txt Modified: trunk/include/CMakeLists.txt =================================================================== --- trunk/include/CMakeLists.txt 2009-10-26 21:56:44 UTC (rev 10554) +++ trunk/include/CMakeLists.txt 2009-10-27 19:42:09 UTC (rev 10555) @@ -45,10 +45,9 @@ INCLUDE(${IMPORT_EXECUTABLES}) endif(NOT CMAKE_CROSSCOMPILING) -get_target_property(plhershey-unicode-gen_LOCATION plhershey-unicode-gen LOCATION) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h - COMMAND ${plhershey-unicode-gen_LOCATION} + COMMAND plhershey-unicode-gen ${CMAKE_SOURCE_DIR}/fonts/plhershey-unicode.csv ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h DEPENDS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |