Commit af1fc0aa authored by Bart van der Velden's avatar Bart van der Velden

Add gtest_force_shared_crt to cache, to see if Qt-Creator can build the...

Add gtest_force_shared_crt to cache, to see if Qt-Creator can build the project without having to run CMake twice instead of a single time (#54)
parent 1c1cea82
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Add the Google C++ Testing Framework # Add the Google C++ Testing Framework
# gtest_force_shared_crt must be set to true, at least in Windows but it doesn't seem to # gtest_force_shared_crt must be set to true, at least in Windows but it doesn't seem to
# hurt on Linux # hurt on Linux
set(gtest_force_shared_crt on) set(gtest_force_shared_crt on CACHE BOOL "Use a shared runtime library for Google Test" FORCE)
add_subdirectory(gmock-1.7.0) add_subdirectory(gmock-1.7.0)
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