We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b3de20 commit 128634aCopy full SHA for 128634a
1 file changed
src/inserts/functions.cmake
@@ -1223,8 +1223,10 @@ function(cppan_flex_bison_internal lexer)
1223
set(bdir ${BDIR_PRIVATE}/fb)
1224
1225
if (NOT WIN32)
1226
- set(flex flex)
1227
- set(bison bison)
+ find_package(FLEX REQUIRED)
+ find_package(BISON REQUIRED 3.0)
1228
+ set(bison ${BISON_EXECUTABLE})
1229
+ set(flex ${FLEX_EXECUTABLE})
1230
endif()
1231
1232
# parsers
0 commit comments