aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/dmlc/cxx-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/dmlc/cxx-fix.patch')
-rw-r--r--vcpkg/ports/dmlc/cxx-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/dmlc/cxx-fix.patch b/vcpkg/ports/dmlc/cxx-fix.patch
new file mode 100644
index 0000000..4b3f0d3
--- /dev/null
+++ b/vcpkg/ports/dmlc/cxx-fix.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 46aa280..f66b286 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -59,6 +59,7 @@ if(USE_AZURE)
+ endif()
+
+ add_library(dmlc ${SOURCE})
++target_compile_features(dmlc PUBLIC cxx_std_${CMAKE_CXX_STANDARD})
+
+ # Sanitizer
+ if (DMLC_USE_SANITIZER)