summaryrefslogtreecommitdiff
path: root/misc/py-xgboost/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-04-17 14:38:20 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-04-17 16:24:12 -0700
commit6ba8180534b1010593f9789bdbb758a889354390 (patch)
tree0933604d292a546aeb2e4f1f72147b47b756d7f6 /misc/py-xgboost/files/patch-CMakeLists.txt
parentdns/amass: Update 3.19.1 -> 3.19.2 (diff)
misc/{,py-}xgboost: Update 1.5.2 -> 1.6.0
Reported by: portscout
Diffstat (limited to 'misc/py-xgboost/files/patch-CMakeLists.txt')
-rw-r--r--misc/py-xgboost/files/patch-CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/py-xgboost/files/patch-CMakeLists.txt b/misc/py-xgboost/files/patch-CMakeLists.txt
index 4b498a226047..593bcfbf2b9d 100644
--- a/misc/py-xgboost/files/patch-CMakeLists.txt
+++ b/misc/py-xgboost/files/patch-CMakeLists.txt
@@ -17,10 +17,10 @@
if (BUILD_STATIC_LIB AND (R_LIB OR JVM_BINDINGS))
message(SEND_ERROR "Cannot build a static library libxgboost.a when R or JVM packages are enabled.")
endif (BUILD_STATIC_LIB AND (R_LIB OR JVM_BINDINGS))
-@@ -160,7 +160,7 @@ endif (USE_NCCL)
-
- # dmlc-core
- msvc_use_static_runtime()
+@@ -168,7 +168,7 @@ msvc_use_static_runtime()
+ if (FORCE_SHARED_CRT)
+ set(DMLC_FORCE_SHARED_CRT ON)
+ endif ()
-add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core)
+#add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core)