Skip to content

Commit 6fc9499

Browse files
committed
Specify the target required c++ version
1 parent f54a7c3 commit 6fc9499

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ target_include_directories(maxplus PUBLIC
1818
${MAXPLUSLIB_INCLUDE_DIR}/maxplus
1919
)
2020

21-
21+
target_compile_features(maxplus PUBLIC cxx_std_17)
22+
set_target_properties(maxplus PROPERTIES CXX_EXTENSIONS OFF)

0 commit comments

Comments
 (0)