Commit ad9ee347 authored by L. E. Segovia's avatar L. E. Segovia

Use find_package to find Bison and Flex

parent 9d44ad9f
......@@ -28,8 +28,8 @@ set_source_files_properties("ExprBuiltins.cpp" PROPERTIES COMPILE_DEFINITIONS "_
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
## find our parser generators
find_program(BISON_EXE bison)
find_program(FLEX_EXE flex)
find_package(BISON)
find_package(FLEX)
find_program(SED_EXE sed)
# TODO use recent cmake to use FindFlex FindBison
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment