From 1e4920f163fffa04102486f9d57d086421f80013 Mon Sep 17 00:00:00 2001
From: Martin Gels <gels@astron.nl>
Date: Fri, 6 Mar 2009 13:57:28 +0000
Subject: [PATCH] bug 1005: Updated cmake file(s).

---
 LCS/Blob/src/CMakeLists.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/LCS/Blob/src/CMakeLists.txt b/LCS/Blob/src/CMakeLists.txt
index d14cf2e3251..7705906f7f3 100644
--- a/LCS/Blob/src/CMakeLists.txt
+++ b/LCS/Blob/src/CMakeLists.txt
@@ -6,11 +6,15 @@
 if (bison_bin)
   execute_process (
     WORKING_DIRECTORY ${LCS_SOURCE_DIR}/Blob/src
-    COMMAND bison -d -p KeyParse -o KeyParse.cc KeyParse.yy
+    COMMAND bison -y -d -p KeyParse KeyParse.yy -o KeyParse
     TIMEOUT 20
     ERROR_VARIABLE yacc_error
     OUTPUT_QUIET
     )
+  execute_process (
+    WORKING_DIRECTORY ${LCS_SOURCE_DIR}/Blob/src
+    COMMAND mv KeyParse KeyParse.cc
+    )
 else (bison_bin)
   message (SEND_ERROR "Unable to run YACC; missing application!")
 endif (bison_bin)
-- 
GitLab