Prevent targets installation for 3rd party libs (mkl-dnn) (#4096)

This commit is contained in:
Sergey Lyubimtsev 2021-01-31 12:54:50 +03:00 committed by GitHub
parent 8abbfbc855
commit abaf155b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,6 @@ if(ENABLE_MKL_DNN)
set(OpenMP_cmake_included ON) ## to skip "omp simd" inside a code. Lead to some crashes inside NDK LLVM..
endif()
add_subdirectory(mkl-dnn)
add_subdirectory(mkl-dnn EXCLUDE_FROM_ALL)
add_library(mkldnn ALIAS dnnl)
endif()