Skip to content

Commit

Permalink
cmake: unit tests need to link to tinyxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Oct 30, 2024
1 parent 0b9f729 commit 1a62ebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ set_target_properties(unit_tests_runner
PROPERTIES COMPILE_FLAGS ${warnings}
)

find_package(GTest)
find_package(GTest REQUIRED)
find_package(tinyxml2 REQUIRED)

target_link_libraries(unit_tests_runner
mavsdk
CURL::libcurl
JsonCpp::JsonCpp
tinyxml2::tinyxml2
GTest::gtest
GTest::gtest_main
GTest::gmock
Expand Down

0 comments on commit 1a62ebe

Please sign in to comment.