You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Windows platform, the MSVC (Microsoft Visual C++) runtime can be linked either statically or dynamically. Currently, XGBoost makes this choice by manually editing raw build flags:
On the Windows platform, the MSVC (Microsoft Visual C++) runtime can be linked either statically or dynamically. Currently, XGBoost makes this choice by manually editing raw build flags:
xgboost/cmake/Utils.cmake
Lines 29 to 51 in bc6c993
A more robust method is to use the built-in flag
CMAKE_MSVC_RUNTIME_LIBRARY
to control the linking mode for the MSVC runtime. See https://github.com/dmlc/treelite/blob/260a5d2c22830ec2bdaa5fc6dc186aa6f3b551e7/CMakeLists.txt#L46-L54 for an example.The text was updated successfully, but these errors were encountered: