Skip to content

Commit

Permalink
Require minimum bison version
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-- committed Aug 23, 2021
1 parent 5978d9d commit f249ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.2)
project(never)
enable_language(C)

find_package(BISON)
find_package(BISON 2.7.1)
find_package(FLEX)
BISON_TARGET(parser ${CMAKE_CURRENT_SOURCE_DIR}/front/parser.y ${CMAKE_CURRENT_SOURCE_DIR}/front/parser.c VERBOSE parser.txt)
FLEX_TARGET(scanner ${CMAKE_CURRENT_SOURCE_DIR}/front/scanner.l ${CMAKE_CURRENT_SOURCE_DIR}/front/scanner.c)
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.0.2)
enable_language(C)

if (MSVC)
Expand Down

0 comments on commit f249ebc

Please sign in to comment.