[icinga-checkins] icinga.org: icinga2/feature/cmake-4962: Set minimum version for Bison.

git at icinga.org git at icinga.org
Sun Nov 3 12:19:15 CET 2013


Module: icinga2
Branch: feature/cmake-4962
Commit: 1673352917cd48780577e2ddc1af3a1bc7110a1e
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1673352917cd48780577e2ddc1af3a1bc7110a1e

Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Sun Nov  3 12:19:14 2013 +0100

Set minimum version for Bison.

Refs #4962

---

 lib/config/CMakeLists.txt    |    2 +-
 tools/mkclass/CMakeLists.txt |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/config/CMakeLists.txt b/lib/config/CMakeLists.txt
index b6e3f6e..e40f35e 100644
--- a/lib/config/CMakeLists.txt
+++ b/lib/config/CMakeLists.txt
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software Foundation
 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-find_package(BISON REQUIRED)
+find_package(BISON 2.4.1 REQUIRED)
 find_package(FLEX 2.5.37 REQUIRED)
 
 bison_target(config_parser config_parser.yy ${CMAKE_CURRENT_BINARY_DIR}/config_parser.cc)
diff --git a/tools/mkclass/CMakeLists.txt b/tools/mkclass/CMakeLists.txt
index 4ab6da4..14423a7 100644
--- a/tools/mkclass/CMakeLists.txt
+++ b/tools/mkclass/CMakeLists.txt
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software Foundation
 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
-find_package(BISON REQUIRED)
+find_package(BISON 2.4.1 REQUIRED)
 find_package(FLEX 2.5.37 REQUIRED)
 
 bison_target(class_parser class_parser.yy ${CMAKE_CURRENT_BINARY_DIR}/class_parser.cc)





More information about the icinga-checkins mailing list