Remove the extraneous gtest library from the test's link args, since gmock covers it

This commit is contained in:
Jesse Beder
2015-02-21 12:33:36 -06:00
parent 77c90a08e8
commit b1322770c2

View File

@@ -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)