diff options
author | Jörg Mayer <jmayer@loplof.de> | 2009-09-24 04:57:41 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2009-09-24 04:57:41 +0000 |
commit | eefc0ffc3da89e0a0f9949f94042b9fde6ee0ecf (patch) | |
tree | e15f441d263ad3d6410bf1fe5808f3ea21b6e8c5 /cmake/modules/UseLemon.cmake | |
parent | 0b5f235491210f718eb21be0bf1eb01dd06d371a (diff) |
While trying to understand commit 30107, I found the following at
http://www.itk.org/Bug/view.php?id=9219
Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose but
has been left for compatibility with existing projects. Instead
add_custom_command() recognizes executable target names in its COMMAND
So just use "lemon" instead of specifying the full path.
svn path=/trunk/; revision=30109
Diffstat (limited to 'cmake/modules/UseLemon.cmake')
-rw-r--r-- | cmake/modules/UseLemon.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake index c464927fda..ecdf7f132e 100644 --- a/cmake/modules/UseLemon.cmake +++ b/cmake/modules/UseLemon.cmake @@ -11,7 +11,7 @@ MACRO(ADD_LEMON_FILES _sources ) ADD_CUSTOM_COMMAND( OUTPUT ${_out} - COMMAND ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lemon + COMMAND lemon t=${_lemonpardir}/lempar.c ${srcdir}/${_in} DEPENDS ${_in} |