diff options
author | Marcin Ślusarz <marcin.slusarz@gmail.com> | 2019-05-26 20:30:49 (GMT) |
---|---|---|
committer | Marcin Ślusarz <marcin.slusarz@gmail.com> | 2019-05-26 20:34:06 (GMT) |
commit | a7754448f66acc50427a04b1e5b699a041ae295a (patch) | |
tree | 8e5810d63f68bdd482e7701bbc53b1e1f5300c81 /Modules | |
parent | 63f149f5989ea4adfa522cec63a954b5059c223c (diff) | |
download | CMake-a7754448f66acc50427a04b1e5b699a041ae295a.zip CMake-a7754448f66acc50427a04b1e5b699a041ae295a.tar.gz CMake-a7754448f66acc50427a04b1e5b699a041ae295a.tar.bz2 |
FindFLEX: fix example
Binaries using flex must link with the detected library.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindFLEX.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake index 09d57d2..d22b7ec 100644 --- a/Modules/FindFLEX.cmake +++ b/Modules/FindFLEX.cmake @@ -95,6 +95,7 @@ respectively ``FLEX_TARGET`` and ``BISON_TARGET`` macros. ${BISON_MyParser_OUTPUTS} ${FLEX_MyScanner_OUTPUTS} ) + target_link_libraries(Foo ${FLEX_LIBRARIES}) ==================================================================== #]=======================================================================] |