mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-28 13:47:50 +00:00
fix(cmake): fix USE_BUNDLED_DEPS=ON and BUILD_FALCO_UNIT_TESTS=ON
Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
@@ -65,10 +65,13 @@ PRIVATE
|
|||||||
${CMAKE_CURRENT_BINARY_DIR} # we need it to include `falco_test_var.h`
|
${CMAKE_CURRENT_BINARY_DIR} # we need it to include `falco_test_var.h`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
get_target_property(FALCO_APPLICATION_LIBRARIES falco_application LINK_LIBRARIES)
|
||||||
|
|
||||||
target_link_libraries(falco_unit_tests
|
target_link_libraries(falco_unit_tests
|
||||||
falco_application
|
falco_application
|
||||||
GTest::gtest
|
GTest::gtest
|
||||||
GTest::gtest_main
|
GTest::gtest_main
|
||||||
|
${FALCO_APPLICATION_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (EMSCRIPTEN)
|
if (EMSCRIPTEN)
|
||||||
|
Reference in New Issue
Block a user