Unverified Commit 0513ad96 authored by Jai Menon's avatar Jai Menon Committed by GitHub

Merge pull request #224 from NervanaSystems/bob/check_zlib

cmake now fails if zlib is not found
parents af18be14 32e18404
...@@ -100,6 +100,8 @@ include_directories( ...@@ -100,6 +100,8 @@ include_directories(
) )
if(LLVM_INCLUDE_DIR) if(LLVM_INCLUDE_DIR)
find_package(ZLIB REQUIRED)
include_directories(SYSTEM ${LLVM_INCLUDE_DIR}) include_directories(SYSTEM ${LLVM_INCLUDE_DIR})
link_directories(${LLVM_LIB_DIR}) link_directories(${LLVM_LIB_DIR})
# Add sources for the CPU backend # Add sources for the CPU backend
......
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