Commit 42d44e2e authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

Codegen: Add dependency on external llvm only when it's found

parent 8270d6bf
......@@ -157,4 +157,8 @@ install(DIRECTORY
DESTINATION "${CMAKE_INSTALL_LIB}"
)
add_dependencies(ngraph eigen ext_llvm)
add_dependencies(ngraph eigen)
if(LLVM_INCLUDE_DIR)
add_dependencies(ngraph ext_llvm)
endif()
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