summaryrefslogtreecommitdiff
path: root/misc/py-xgboost/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-20 13:47:07 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-20 13:47:43 -0700
commit97c28a6205418913c189cf2c1d28c5f5b4b212da (patch)
tree675124f3af90ea58d644381982379a01fee22bca /misc/py-xgboost/files/patch-CMakeLists.txt
parentmisc/xgboost: Update 1.2.1 -> 1.4.1 (diff)
misc/py-xgboost: Update 1.2.1 -> 1.4.1
Reported by: portscout
Diffstat (limited to 'misc/py-xgboost/files/patch-CMakeLists.txt')
-rw-r--r--misc/py-xgboost/files/patch-CMakeLists.txt24
1 files changed, 0 insertions, 24 deletions
diff --git a/misc/py-xgboost/files/patch-CMakeLists.txt b/misc/py-xgboost/files/patch-CMakeLists.txt
index 87c993afdabb..d71345f99187 100644
--- a/misc/py-xgboost/files/patch-CMakeLists.txt
+++ b/misc/py-xgboost/files/patch-CMakeLists.txt
@@ -17,27 +17,3 @@
if (MSVC)
target_compile_options(dmlc PRIVATE
-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
-@@ -144,10 +144,10 @@ if (MSVC)
- -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
- endif (TARGET dmlc_unit_tests)
- endif (MSVC)
--if (ENABLE_ALL_WARNINGS)
-- target_compile_options(dmlc PRIVATE -Wall -Wextra)
--endif (ENABLE_ALL_WARNINGS)
--target_link_libraries(objxgboost PUBLIC dmlc)
-+#if (ENABLE_ALL_WARNINGS)
-+# target_compile_options(dmlc PRIVATE -Wall -Wextra)
-+#endif (ENABLE_ALL_WARNINGS)
-+#target_link_libraries(objxgboost PUBLIC dmlc)
-
- # rabit
- set(RABIT_BUILD_DMLC OFF)
-@@ -202,7 +202,7 @@
-
- #-- Hide all C++ symbols
- if (HIDE_CXX_SYMBOLS)
-- foreach(target objxgboost xgboost dmlc rabit rabit_mock_static)
-+ foreach(target objxgboost xgboost rabit rabit_mock_static)
- set_target_properties(${target} PROPERTIES CXX_VISIBILITY_PRESET hidden)
- endforeach()
- endif (HIDE_CXX_SYMBOLS)