Skip to content

Commit 1d76f5d

Browse files
committed
try fixing compilation tests for MSVC
1 parent 92525c2 commit 1d76f5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compilation_tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ macro(add_compilation_test name)
44
set_source_files_properties(${name} PROPERTIES LANGUAGE ${MDSPAN_TEST_LANGUAGE})
55
endif()
66
add_executable(${name} ${name}.cpp)
7+
target_compile_features(${name} PRIVATE cxx_std_17)
78
target_link_libraries(${name} mdspan)
89
endmacro()
910

0 commit comments

Comments
 (0)