Commit 8b3d7246 authored by miloyip's avatar miloyip

Fix VC linkage error for CMAKE

Mentioned in #240
parent 10b6a133
......@@ -2,6 +2,7 @@ find_package(GTestSrc)
IF(GTESTSRC_FOUND)
enable_testing()
set(gtest_force_shared_crt ON)
if (WIN32 AND (NOT CYGWIN) AND (NOT MINGW))
set(gtest_disable_pthreads ON)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment