mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-07 20:36:44 +02:00
CMake: specify Flex and Bison version requirements.
macOS ships Bison 2.6, which is too old for Yosys.
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user