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( ...@@ -44,5 +44,5 @@ target_include_directories(
target_include_directories( target_include_directories(
${TORCH_TARGET_NAME} PRIVATE "${TORCH_INCLUDE_DIRS}") ${TORCH_TARGET_NAME} PRIVATE "${TORCH_INCLUDE_DIRS}")
target_link_libraries(${TORCH_TARGET_NAME} PRIVATE "${TENSORADAPTER_TORCH_LIBS}") 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}") 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