FindFLEX: fix example

Binaries using flex must link with the detected library.
This commit is contained in:
Marcin Ślusarz 2019-05-26 22:30:49 +02:00
parent 63f149f598
commit a7754448f6

View File

@ -95,6 +95,7 @@ respectively ``FLEX_TARGET`` and ``BISON_TARGET`` macros.
${BISON_MyParser_OUTPUTS}
${FLEX_MyScanner_OUTPUTS}
)
target_link_libraries(Foo ${FLEX_LIBRARIES})
====================================================================
#]=======================================================================]