mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
FindFLEX: fix example
Binaries using flex must link with the detected library.
This commit is contained in:
@@ -95,6 +95,7 @@ respectively ``FLEX_TARGET`` and ``BISON_TARGET`` macros.
|
||||
${BISON_MyParser_OUTPUTS}
|
||||
${FLEX_MyScanner_OUTPUTS}
|
||||
)
|
||||
target_link_libraries(Foo ${FLEX_LIBRARIES})
|
||||
====================================================================
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user