mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Remove the extraneous gtest library from the test's link args, since gmock covers it
This commit is contained in:
@@ -29,6 +29,6 @@ add_executable(run-tests
|
|||||||
set_target_properties(run-tests PROPERTIES
|
set_target_properties(run-tests PROPERTIES
|
||||||
COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags} ${yaml_test_flags}"
|
COMPILE_FLAGS "${yaml_c_flags} ${yaml_cxx_flags} ${yaml_test_flags}"
|
||||||
)
|
)
|
||||||
target_link_libraries(run-tests yaml-cpp gtest gmock)
|
target_link_libraries(run-tests yaml-cpp gmock)
|
||||||
|
|
||||||
add_test(yaml-test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/run-tests)
|
add_test(yaml-test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/run-tests)
|
||||||
|
Reference in New Issue
Block a user