Skip to content

Commit f19243b

Browse files
committed
build MAINTENANCE improve messages in case of missing bison/flex
Fixes #254 Fixes #255
1 parent 7ca8bb4 commit f19243b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ find_package(BISON)
2121
find_program (SED_TOOL NAMES sed)
2222

2323
if(NOT BISON_FOUND)
24-
message(WARNING "Missing Bison.\nTarget bison does not exist.")
24+
message(WARNING "Missing Bison.\nYou won't be able to generate source codes from changed flex/bison files.\nCompiling libyang should still works fine.")
2525
elseif (NOT FLEX_FOUND)
26-
message(WARNING "Missing Flex.\nTarget bison does not exist.")
26+
message(WARNING "Missing Flex.\nYou won't be able to generate source codes from changed flex/bison files.\nCompiling libyang should still works fine.")
2727
else()
2828
if (BISON_VERSION VERSION_LESS 3)
2929
set(EMPTYDIR "")

0 commit comments

Comments
 (0)