diff --git a/3rdparty/gtest/CMakeLists.txt b/3rdparty/gtest/CMakeLists.txt index db29294..77f0b58 100644 --- a/3rdparty/gtest/CMakeLists.txt +++ b/3rdparty/gtest/CMakeLists.txt @@ -13,7 +13,7 @@ option( gtest_force_shared_crt "Use shared (DLL) run-time lib even when Google Test is built as static lib." - OFF) + ON) option(gtest_build_tests "Build all of gtest's own tests." OFF) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd5c027..373b302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ include_directories(${CMAKE_SOURCE_DIR}/include) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) -set(gtest_force_shared_crt 1) +set(gtest_force_shared_crt ON) add_subdirectory(src) add_subdirectory(3rdparty/gtest)