Skip to content

Commit f69c0a3

Browse files
Modify cmake
1 parent ef162f2 commit f69c0a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.14)
22
project(cddp)
33

44
set(CMAKE_CXX_STANDARD 17) # Enforce C++17 as the minimum standard
5-
set(CMAKE_CXX_STANDARD_REQUIRED ON)
5+
set(CMAKE_CXX_STANDARD_REQUIRED ON) # Enforce C++17 as the minimum standard
6+
set(ABSL_PROPAGATE_CXX_STD ON) # Enforce C++17 for absl
67

78
# Set the default build type to Release
89
set(CMAKE_BUILD_TYPE "Release")

0 commit comments

Comments
 (0)