diff options
Diffstat (limited to 'cmake/NativeCompiler.cmake')
| -rw-r--r-- | cmake/NativeCompiler.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/NativeCompiler.cmake b/cmake/NativeCompiler.cmake index 8371ee2..0a2ad70 100644 --- a/cmake/NativeCompiler.cmake +++ b/cmake/NativeCompiler.cmake @@ -3,6 +3,9 @@ find_package(Clang REQUIRED CONFIG HINTS "${LLVM_INSTALL_PREFIX}/lib/cmake/clang cpsc_find_dependency(PATH LLD_DIR NAMES LLDConfig.cmake PATH_SUFFIXES lib/cmake/lld cmake) find_package(LLD REQUIRED CONFIG HINTS "${LLVM_INSTALL_PREFIX}/lib/cmake/lld") find_package(Python3 3.9 REQUIRED COMPONENTS Interpreter) +if(NOT LLVM_ENABLE_ZLIB) + message(FATAL_ERROR "Native link resources require LLVM built with zlib support") +endif() if(MINGW) set(cpsc_native_platform windows) |
