Skip to content

Commit

Permalink
fix(cmake): fix USE_BUNDLED_DEPS=ON and BUILD_FALCO_UNIT_TESTS=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaGuerra committed Mar 25, 2024
1 parent 12cd72a commit 60cd421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,13 @@ PRIVATE
${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
falco_application
GTest::gtest
GTest::gtest_main
${FALCO_APPLICATION_LIBRARIES}
)

if (EMSCRIPTEN)
Expand Down

0 comments on commit 60cd421

Please sign in to comment.