Skip to content

Commit

Permalink
fix windows bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joey12300 committed Sep 25, 2022
1 parent c53d8fd commit 870c22c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/openvino.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@ if(WIN32)
CACHE FILEPATH "OPENVINO shared library." FORCE)
file(GLOB_RECURSE OPENVINO_LIB_FILES ${OPENVINO_INSTALL_DIR}/lib/intel64/Release/*)
file(COPY ${OPENVINO_LIB_FILES} DESTINATION ${OPENVINO_INSTALL_DIR}/lib/)
file(REMOVE_RECURSE ${OPENVINO_INSTALL_DIR}/lib/intel64)

file(GLOB_RECURSE OPENVINO_BIN_FILES ${OPENVINO_INSTALL_DIR}/bin/intel64/Release/*)
file(COPY ${OPENVINO_LIB_FILES} DESTINATION ${OPENVINO_INSTALL_DIR}/bin/)

file(REMOVE_RECURSE ${OPENVINO_INSTALL_DIR}/lib/intel64)
file(COPY ${OPENVINO_BIN_FILES} DESTINATION ${OPENVINO_INSTALL_DIR}/bin/)
file(REMOVE_RECURSE ${OPENVINO_INSTALL_DIR}/bin/intel64)
elseif(APPLE)
set(OPENVINO_LIB
Expand Down

0 comments on commit 870c22c

Please sign in to comment.