Andrew Kelley via llvm-dev
2018-Mar-23 20:58 UTC
[llvm-dev] check_include_file not respecting CMAKE_PREFIX_PATH
$ file /home/andy/misc/bootstrap/out/native/include/zlib.h /home/andy/misc/bootstrap/out/native/include/zlib.h: C source, ASCII text $ cmake /home/andy/misc/bootstrap/llvm-6.0.0.src -DCMAKE_PREFIX_PATH=/home/andy/misc/bootstrap/out/native -DCMAKE_INSTALL_PREFIX=/home/andy/misc/bootstrap/out/native -DCMAKE_BUILD_TYPE=Release -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly; \ -- Looking for zlib.h - not found I propose to use find_path and find_library instead of check_include_file. Shall I submit a patch? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180323/99c595de/attachment.html>
Seemingly Similar Threads
- [PATCH] Add CMake build script
- llvm-config deprecation
- Cannot build Clang/LLVM on Windows with LLVM_BUILD_LLVM_DYLIB
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Couldn't successfully generate project files for LLVM (checked out from trunk)