File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.4.1)
22set (TARGET torchvision_ops)
33project (${TARGET} CXX)
4- set (CMAKE_CXX_STANDARD 14 )
4+ set (CMAKE_CXX_STANDARD 17 )
55
66string (APPEND CMAKE_CXX_FLAGS " -DMOBILE" )
77
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ add_executable(hello-world main.cpp)
1717# which also adds all the necessary torch dependencies.
1818target_compile_features (hello-world PUBLIC cxx_range_for)
1919target_link_libraries (hello-world TorchVision::TorchVision)
20- set_property (TARGET hello-world PROPERTY CXX_STANDARD 14 )
20+ set_property (TARGET hello-world PROPERTY CXX_STANDARD 17 )
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.4.1)
22set (TARGET torchvision_ops)
33project (${TARGET} CXX)
4- set (CMAKE_CXX_STANDARD 14 )
4+ set (CMAKE_CXX_STANDARD 17 )
55set (LIBTORCH_HEADER_ROOT ${LIBTORCH_HEADER_ROOT} )
66set (LIBRARY_OUTPUT_PATH ../lib)
77
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ find_package(Python3 COMPONENTS Development)
1010add_executable (test_frcnn_tracing test_frcnn_tracing.cpp)
1111target_compile_features (test_frcnn_tracing PUBLIC cxx_range_for)
1212target_link_libraries (test_frcnn_tracing ${TORCH_LIBRARIES} TorchVision::TorchVision Python3::Python)
13- set_property (TARGET test_frcnn_tracing PROPERTY CXX_STANDARD 14 )
13+ set_property (TARGET test_frcnn_tracing PROPERTY CXX_STANDARD 17 )
You can’t perform that action at this time.
0 commit comments