diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-03-30 20:22:31 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-03-30 20:22:31 +0200 |
commit | 561c703afc0e57bae50878394c7c2d9adb15d0ce (patch) | |
tree | e941da75f7e878fa904cc34d7de6fe50555f056b /cmake | |
parent | e76604fc3607cc49cf7256caec665ce3da630671 (diff) |
fix msvc_static_runtime.cmake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc_static_runtime.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/msvc_static_runtime.cmake b/cmake/msvc_static_runtime.cmake index 5a31ab3d24..fc6d1d62d3 100644 --- a/cmake/msvc_static_runtime.cmake +++ b/cmake/msvc_static_runtime.cmake @@ -3,6 +3,8 @@ option(gRPC_MSVC_STATIC_RUNTIME "Link with static msvc runtime libraries" OFF) if(gRPC_MSVC_STATIC_RUNTIME) # switch from dynamic to static linking of msvcrt foreach(flag_var + CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE + CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) |