Workaround for Cython issue on Python 3.8 (#2684)
authorMichał Karzyński <4430709+postrational@users.noreply.github.com>
Fri, 16 Oct 2020 06:44:03 +0000 (08:44 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Oct 2020 06:44:03 +0000 (08:44 +0200)
inference-engine/ie_bridges/python/src/openvino/inference_engine/CMakeLists.txt

index 9ce70b5..2211d63 100644 (file)
@@ -32,7 +32,7 @@ endforeach()
 
 function(python_disable_deprecated_warnings)
     disable_deprecated_warnings()
-    set(pyx_file "${CMAKE_CURRENT_BINARY_DIR}/ie_api.cxx")
+    set(pyx_file "${CMAKE_CURRENT_BINARY_DIR}/ie_api.cxx" "${CMAKE_CURRENT_BINARY_DIR}/constants.cxx")
     set_source_files_properties(${pyx_file} PROPERTIES COMPILE_FLAGS ${ie_c_cxx_deprecated})
 endfunction()