Skip to content

Commit e08e7ce

Browse files
committed
C++17 CMAKE support is only available since 3.8
Change-Id: Ib7caf344a1a78ef0da69e7c31ffe8983c7e41653
1 parent 42c3292 commit e08e7ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cdk/cmake/platform.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ endmacro()
103103
# -----------------------------------------------------------------
104104

105105

106-
if(CMAKE_VERSION VERSION_LESS "3.1.3")
106+
if(CMAKE_VERSION VERSION_LESS "3.8.0")
107107

108108
function(enable_cxx17)
109109
add_flags(CXX -std=c++17)

jdbc/cmake/platform.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ endmacro()
106106
# -----------------------------------------------------------------
107107

108108

109-
if(CMAKE_VERSION VERSION_LESS "3.1.3")
109+
if(CMAKE_VERSION VERSION_LESS "3.8.0")
110110

111111
function(enable_cxx17)
112112
add_flags(CXX -std=c++17)

0 commit comments

Comments
 (0)