From 62017a5ed7e0822ac92591f027d051de469e8ac0 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sun, 27 Sep 2026 12:43:51 +0500 Subject: [PATCH 1/3] cmake: require bison >= 2.5 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db47691f6..23c23dace 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ include(SetPlatformFeatures) include(SystemInformation) # External packages -find_package(BISON) +find_package(BISON 2.5 REQUIRED) find_package(FLEX) # Modules From 5c01e668f38d290cc6ffbbaa2f07154e69b89b0a Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sun, 27 Sep 2026 12:56:31 +0500 Subject: [PATCH 2/3] readme: extending PATH for `bison` from `brew` --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8faab0ad4..3049431f1 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,8 @@ sudo apt-get install -y binutils-dev uuid-dev flex bison ### MacOS: install required packages ```shell brew install flex bison +# Homebrew bison is not available from PATH, the system one (2.3) is too old +export PATH="$(brew --prefix bison)/bin:$PATH" ``` ### Windows: install required packages From 74f268831f9b64e24c5a7a4864c01c75c9cb5f40 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sun, 27 Sep 2026 18:54:38 +0500 Subject: [PATCH 3/3] cmake: require flex --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 23c23dace..d9bf9da04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ include(SystemInformation) # External packages find_package(BISON 2.5 REQUIRED) -find_package(FLEX) +find_package(FLEX REQUIRED) # Modules add_subdirectory("modules")