--- src/ngraph/runtime/cpu/CMakeLists.txt.orig 2020-04-17 02:05:16 UTC +++ src/ngraph/runtime/cpu/CMakeLists.txt @@ -228,8 +228,8 @@ if (NGRAPH_CPU_ENABLE) target_compile_definitions(cpu_backend PRIVATE "NGRAPH_CPU_OPTIMIZE_${t}") endforeach() - add_dependencies(cpu_backend libmkldnn ext_eigen) - target_link_libraries(cpu_backend PUBLIC ngraph libmkldnn libmkl libeigen) + #add_dependencies(cpu_backend libmkldnn ext_eigen) + target_link_libraries(cpu_backend PUBLIC ngraph) if (NGRAPH_JSON_ENABLE) target_link_libraries(cpu_backend PUBLIC libjson) endif() @@ -239,7 +239,7 @@ if (NGRAPH_CPU_ENABLE) if (NOT NGRAPH_DEX_ONLY) target_link_libraries(cpu_backend PRIVATE codegen) endif() - target_include_directories(cpu_backend SYSTEM PUBLIC libmkldnn) + #target_include_directories(cpu_backend SYSTEM PUBLIC libmkldnn) if (NOT APPLE AND NOT MSVC) # CPU backend uses third-party libraries like Eigen that might be linked in and