Skip to content

Commit

Permalink
mlrt_ov/CMakeLists.txt: add delay loaded openvino.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed Aug 31, 2024
1 parent 4907af0 commit 813da81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mlrt_ov/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ target_link_libraries(mlrt_ov PRIVATE
avisynth
)

if (MSVC)
target_link_libraries(mlrt_ort PRIVATE delayimp)
target_link_options(mlrt_ort PRIVATE "/DELAYLOAD:openvino.dll")
endif()

target_compile_features(mlrt_ov PRIVATE cxx_std_20)

if (MSVC)
Expand Down

0 comments on commit 813da81

Please sign in to comment.