mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
cmake needs to be taught a lesson in debian paths
This commit is contained in:
parent
3c3be10a60
commit
180f539f67
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue