This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2022-10-19 10:19:54 +04:00
1 parent ef12d3976f
commit b62e9196af
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
# Search OpenVINO Runtime installed
find_package(PkgConfig QUIET)
# TODO: fix cross-compilation later
if(PkgConfig_FOUND AND NOT CMAKE_CROSSCOMPILING)
if(PkgConfig_FOUND AND NOT CMAKE_CROSSCOMPILING AND CMAKE_BUILD_TYPE STREQUAL "Release")
pkg_search_module(openvino REQUIRED
IMPORTED_TARGET
openvino)