Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown CMake command "BISON_TARGET"

I am trying to configure and generate a source code in Cmake to be able to run in MS Visual Studio 2010 but all I am getting is this error -Unknown CMake command "BISON_TARGET"-. Following is the output and the list of errors. I have BISON installed. Does anyone have any idea how to fix it?

The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done
Could NOT find BISON (missing:  BISON_EXECUTABLE)  CMake Error at
src/parameters/CMakeLists.txt:16 (BISON_TARGET):   Unknown CMake command "BISON_TARGET".
like image 881
user3385623 Avatar asked Aug 31 '25 18:08

user3385623


1 Answers

Set BISON_EXECUTABLE from CMake GUI to proper executable path and reconfigure the cache.

like image 125
arrowd Avatar answered Sep 02 '25 17:09

arrowd