Remove the extraneous gtest library from the test's link args, since gmock covers it
This commit is contained in:
parent
77c90a08e8
commit
b1322770c2
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user