--- src/resource/CMakeLists.txt.orig 2020-04-17 02:03:06 UTC +++ src/resource/CMakeLists.txt @@ -36,11 +36,11 @@ list(APPEND HEADER_SEARCH_DEFINES CLANG_BUILTIN_HEADER list(APPEND HEADER_SEARCH_DEFINES NGRAPH_HEADERS_PATH="${NGRAPH_INCLUDE_PATH}") if(NGRAPH_CPU_ENABLE) - add_dependencies(resource_generator libmkldnn libeigen) - get_target_property(MKLDNN_INCLUDE_DIR libmkldnn INTERFACE_INCLUDE_DIRECTORIES) - get_target_property(EIGEN_INCLUDE_DIR libeigen INTERFACE_INCLUDE_DIRECTORIES) - list(APPEND HEADER_SEARCH_DEFINES EIGEN_HEADERS_PATH="${EIGEN_INCLUDE_DIR}") - list(APPEND HEADER_SEARCH_DEFINES MKLDNN_HEADERS_PATH="${MKLDNN_INCLUDE_DIR}") + #add_dependencies(resource_generator libeigen) + #get_target_property(MKLDNN_INCLUDE_DIR INTERFACE_INCLUDE_DIRECTORIES) + #get_target_property(EIGEN_INCLUDE_DIR libeigen INTERFACE_INCLUDE_DIRECTORIES) + #list(APPEND HEADER_SEARCH_DEFINES EIGEN_HEADERS_PATH="${EIGEN_INCLUDE_DIR}") + #list(APPEND HEADER_SEARCH_DEFINES MKLDNN_HEADERS_PATH="${MKLDNN_INCLUDE_DIR}") endif() if(NGRAPH_TBB_ENABLE)