"vscode:/vscode.git/clone" did not exist on "2ca598063443d0bf4ba3b1f0fb3dbc17e60f8a67"
Unverified Commit 945b0e54 authored by Wang, Xiao's avatar Wang, Xiao Committed by GitHub
Browse files

[Build] use c++17 on tensoradaptor build (#5791)

parent 9211d34f
......@@ -44,5 +44,5 @@ target_include_directories(
target_include_directories(
${TORCH_TARGET_NAME} PRIVATE "${TORCH_INCLUDE_DIRS}")
target_link_libraries(${TORCH_TARGET_NAME} PRIVATE "${TENSORADAPTER_TORCH_LIBS}")
set_property(TARGET ${TORCH_TARGET_NAME} PROPERTY CXX_STANDARD 14)
set_property(TARGET ${TORCH_TARGET_NAME} PROPERTY CXX_STANDARD 17)
message(STATUS "Configured target ${TORCH_TARGET_NAME}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment