From a5f4d64ad4964e8be6561c8580af423a653565e1 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Mon, 22 Jan 2024 15:31:03 -0800 Subject: [PATCH] update --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 015837fd9..84f5d1c3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ endif() if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 10) add_compile_definitions(USE_CXX17=1) + message("USE C++17") set(CMAKE_CXX_STANDARD 17) else() set(CMAKE_CXX_STANDARD 20)