JavaEar 专注于收集分享传播有价值的技术资料

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".

1个回答

    最佳答案
  1. Set BISON_EXECUTABLE from CMake GUI to proper executable path and reconfigure the cache.