Skip to content

Commit

Permalink
Merge pull request #424 from intel/ankit/update_cpp20_std
Browse files Browse the repository at this point in the history
update: Enable C++ 20 Standard for the build
  • Loading branch information
sfatimar authored Aug 23, 2024
2 parents 48c464b + d729692 commit 985a4e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/onnxruntime_providers_openvino.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
onnxruntime_add_include_to_target(onnxruntime_providers_openvino onnxruntime_common onnx)
install(FILES ${PROJECT_SOURCE_DIR}/../include/onnxruntime/core/providers/openvino/openvino_provider_factory.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/onnxruntime/)
set_target_properties(onnxruntime_providers_openvino PROPERTIES CXX_STANDARD 20)
set_target_properties(onnxruntime_providers_openvino PROPERTIES LINKER_LANGUAGE CXX)
set_target_properties(onnxruntime_providers_openvino PROPERTIES FOLDER "ONNXRuntime")
if(NOT MSVC)
Expand Down

0 comments on commit 985a4e9

Please sign in to comment.