Skip to content

Commit fe8b6ae

Browse files
committed
feat: upgrade support of compiler c17 to support libtorch > 2.1
1 parent 2854998 commit fe8b6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ add_library(torchx MODULE ${torchx_sources})
1919
endif()
2020

2121
target_link_libraries(torchx "${TORCH_LIBRARIES}")
22-
set_property(TARGET torchx PROPERTY CXX_STANDARD 14)
22+
set_property(TARGET torchx PROPERTY CXX_STANDARD 17)
2323

2424
target_include_directories(torchx PUBLIC ${ERTS_INCLUDE_DIR})
2525

0 commit comments

Comments
 (0)