mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
cmake needs to be taught a lesson in debian paths
This commit is contained in:
parent
3c3be10a60
commit
180f539f67
@ -6,9 +6,9 @@
|
||||
# CLANG_INCLUDE_DIR
|
||||
# CLANG_LIBRARY
|
||||
|
||||
find_path(CLANG_INCLUDE_DIR NAMES clang-c/Index.h)
|
||||
find_path(CLANG_INCLUDE_DIR NAMES clang-c/Index.h PATHS /usr/lib/llvm-3.7/include/)
|
||||
|
||||
find_library(CLANG_LIBRARY NAMES clang)
|
||||
find_library(CLANG_LIBRARY NAMES clang PATHS /usr/lib/llvm-3.7/lib/)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(CLANG DEFAULT_MSG CLANG_LIBRARY CLANG_INCLUDE_DIR)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user