mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-06 09:00:54 +00:00
CMake: specify Flex and Bison version requirements.
macOS ships Bison 2.6, which is too old for Yosys.
This commit is contained in:
parent
d50dc9a461
commit
39ecd0d93f
1 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ if (APPLE)
|
|||
use_homebrew()
|
||||
endif()
|
||||
|
||||
find_package(FLEX)
|
||||
find_package(FLEX 2.6)
|
||||
set_package_properties(FLEX PROPERTIES
|
||||
URL "https://github.com/westes/flex"
|
||||
DESCRIPTION "The Fast Lexical Analyzer"
|
||||
|
|
@ -176,7 +176,7 @@ set_package_properties(FLEX PROPERTIES
|
|||
TYPE REQUIRED
|
||||
)
|
||||
|
||||
find_package(BISON)
|
||||
find_package(BISON 3.6)
|
||||
set_package_properties(BISON PROPERTIES
|
||||
URL "https://www.gnu.org/software/bison/"
|
||||
DESCRIPTION "The Yacc-compatible Parser Generator"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue