mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
13 lines
297 B
Diff
13 lines
297 B
Diff
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)
|