title: Cmake with Flex/Bison on windows
body: <p>I downdloaded <a href="https://sourceforge.net/projects/winflexbison/" rel="nofollow noreferrer">this</a> flex/bison executables. I copied them to <code>C:\Program Files\Flex-Bison</code>. I also added this dir to Path
  When using this buildscript, how can I make CMake find the executables in this folder?</p>
  
  <pre><code>CMAKE_MINIMUM_REQUIRED(VERSION 3.8.2)
  
  find_package(FLEX)
  if(NOT FLEX_FOUND)
      message(SEND_ERROR "Flex not found")
  endif()
  
  find_package(BISON)
  if(NOT BISON_FOUND)
      message(SEND_ERROR "Bison not found")
  endif()
  </code></pre>