Skip to content

Commit

Permalink
Add curl as a vcpkg dependency and fix gtest linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Nov 7, 2024
1 parent ebbce93 commit 0fa486c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collector/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ foreach(test_file ${TEST_SRC_FILES})
add_executable("${test_name}" "${test_file}")

target_link_libraries(${test_name} collector_lib)
target_link_libraries(${test_name} gtest gtest_main gmock gmock_main)
target_link_libraries(${test_name} GTest::gtest GTest::gtest_main GTest::gmock GTest::gmock_main)

add_test(${test_name} ${test_name})

Expand Down
3 changes: 2 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"uthash",
"valijson",
"yaml-cpp",
"gperftools"
"gperftools",
"curl"
]
}

0 comments on commit 0fa486c

Please sign in to comment.