Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
b1322770
Commit
b1322770
authored
Feb 21, 2015
by
Jesse Beder
Browse files
Remove the extraneous gtest library from the test's link args, since gmock covers it
parent
77c90a08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/CMakeLists.txt
test/CMakeLists.txt
+1
-1
No files found.
test/CMakeLists.txt
View file @
b1322770
...
...
@@ -29,6 +29,6 @@ add_executable(run-tests
set_target_properties
(
run-tests PROPERTIES
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment