Skip to content

Commit 38eefec

Browse files
committed
BUGFIX: set msvc runtime library to "Multi Thread DLL" for all compile configurations (Debug and Release),
1 parent 856a4ed commit 38eefec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cmake -G "Visual Studio 16 2019" -A x64 ^
4242
-DCMAKE_INSTALL_LIBDIR="lib/win64/$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>" ^
4343
-DCMAKE_INSTALL_CMAKEDIR=lib/win64/cmake ^
4444
-Dprotobuf_MSVC_STATIC_RUNTIME=false ^
45+
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL ^
4546
%PB_LIBRARY_PATH%/protobuf-source/cmake
4647
cmake --build . --target INSTALL --config Debug
4748
cmake --build . --target INSTALL --config Release

0 commit comments

Comments
 (0)