Skip to content

Commit

Permalink
BUGFIX: set msvc runtime library to "Multi Thread DLL" for all compil…
Browse files Browse the repository at this point in the history
…e configurations (Debug and Release),
  • Loading branch information
thejinchao committed Jan 14, 2023
1 parent 856a4ed commit 38eefec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ cmake -G "Visual Studio 16 2019" -A x64 ^
-DCMAKE_INSTALL_LIBDIR="lib/win64/$<$<CONFIG:Debug>:Debug>$<$<CONFIG:Release>:Release>" ^
-DCMAKE_INSTALL_CMAKEDIR=lib/win64/cmake ^
-Dprotobuf_MSVC_STATIC_RUNTIME=false ^
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL ^
%PB_LIBRARY_PATH%/protobuf-source/cmake
cmake --build . --target INSTALL --config Debug
cmake --build . --target INSTALL --config Release
Expand Down

0 comments on commit 38eefec

Please sign in to comment.