Unverified Commit da1609b9 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

fix mkldnn install if mkldnn is not included in build (#911)

parent 30f7699b
...@@ -384,10 +384,12 @@ install(DIRECTORY ...@@ -384,10 +384,12 @@ install(DIRECTORY
FILES_MATCHING PATTERN "*.hpp" FILES_MATCHING PATTERN "*.hpp"
) )
install(DIRECTORY if(MKLDNN_LIB_DIR)
${MKLDNN_LIB_DIR}/ install(DIRECTORY
DESTINATION "${NGRAPH_INSTALL_LIB}" ${MKLDNN_LIB_DIR}/
) DESTINATION "${NGRAPH_INSTALL_LIB}"
)
endif()
if (NGRAPH_TBB_ENABLE) if (NGRAPH_TBB_ENABLE)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tbb_build/tbb_release/ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tbb_build/tbb_release/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment