Skip to content

Commit f61d86c

Browse files
authored
Merge pull request #3 from jmigual/fix/cpp-version
Specify the target required c++ version
2 parents f54a7c3 + 6fc9499 commit f61d86c

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)