update(unit_tests): link test suite to falco app cmake target

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce 2023-02-14 18:48:47 +00:00 committed by poiana
parent bf5b8f5c83
commit 9fd6bbf2bf

View File

@ -41,15 +41,16 @@ set(FALCO_UNIT_TESTS_INCLUDES
set(FALCO_UNIT_TESTS_DEPENDENCIES
gtest
gtest_main
falco_engine
sinsp
falco_application
)
get_target_property(FALCO_APPLICATION_LIBRARIES falco_application LINK_LIBRARIES)
set(FALCO_UNIT_TESTS_LIBRARIES
gtest
gtest_main
falco_engine
sinsp
falco_application
${FALCO_APPLICATION_LIBRARIES}
)
message(STATUS "FALCO_UNIT_TESTS_SOURCES: ${FALCO_UNIT_TESTS_SOURCES}")