aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 04:57:41 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-24 04:57:41 +0000
commit6e40ffc344865b7fd612dd0c97a33ef805a81a8f (patch)
treee15f441d263ad3d6410bf1fe5808f3ea21b6e8c5 /cmake/modules
parentb5e672cede6b2f7b49e9cb4ea0336807356f14be (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30109 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/UseLemon.cmake2
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}