From: <ai...@us...> - 2007-04-09 00:44:18
|
Revision: 7659 http://plplot.svn.sourceforge.net/plplot/?rev=7659&view=rev Author: airwin Date: 2007-04-08 17:44:19 -0700 (Sun, 08 Apr 2007) Log Message: ----------- Use GET_TARGET_PROPERTY to extract the location of plhershey-unicode-gen as recommended on the CMake list to get rid of cross-platform problems with the old method. Modified Paths: -------------- trunk/include/CMakeLists.txt Modified: trunk/include/CMakeLists.txt =================================================================== --- trunk/include/CMakeLists.txt 2007-04-08 21:56:10 UTC (rev 7658) +++ trunk/include/CMakeLists.txt 2007-04-09 00:44:19 UTC (rev 7659) @@ -35,13 +35,19 @@ add_executable(plhershey-unicode-gen ${plhershey-unicode-gen_SRCS}) +get_target_property( +plhershey-unicode-gen_LOCATION +plhershey-unicode-gen +LOCATION +) + add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h COMMAND ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode-gen${EXEEXT} ${CMAKE_SOURCE_DIR}/fonts/plhershey-unicode.csv plhershey-unicode.h DEPENDS -${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode-gen${EXEEXT} +${plhershey-unicode-gen_LOCATION} ${CMAKE_SOURCE_DIR}/fonts/plhershey-unicode.csv ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |