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
833f2996
Commit
833f2996
authored
Mar 23, 2014
by
Jesse Beder
Browse files
Fix MSVC static/shared library mismatch with gtest.
parent
fcfd6635
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/CMakeLists.txt
test/CMakeLists.txt
+2
-0
No files found.
test/CMakeLists.txt
View file @
833f2996
set
(
gtest_force_shared_crt
${
MSVC_SHARED_RT
}
CACHE BOOL
"Use shared (DLL) run-time lib even when Google Test built as a static lib."
)
add_subdirectory
(
gmock-1.7.0
)
include_directories
(
gmock-1.7.0/gtest/include
)
include_directories
(
gmock-1.7.0/include
)
...
...
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