From 9bf471611b642afb6d630c71a45194959825f3d2 Mon Sep 17 00:00:00 2001 From: SpinEch0 Date: Fri, 26 Apr 2024 18:44:57 +0800 Subject: [PATCH] change cxx standard from 11 to 14 in CMake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4136575e43eb..54b1cf32ea6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ project(lightgbm LANGUAGES C CXX) if(BUILD_CPP_TEST) set(CMAKE_CXX_STANDARD 14) else() - set(CMAKE_CXX_STANDARD 11) + set(CMAKE_CXX_STANDARD 14) endif() set(CMAKE_CXX_STANDARD_REQUIRED ON)