mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 23:00:15 +00:00
ed8bca4f42
Installing <prefix>/share/clang/cmake/ClangConfig.cmake makes CMake's builtin find_package() utility work with Clang. This also allows downstream consumers of Clang to statically link against libraries like clangAST and have that pull in dependencies like clangBasic and LLVMSupport. See the CMake docs on packages: http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html llvm-svn: 221411
9 lines
369 B
CMake
9 lines
369 B
CMake
# This file allows users to call find_package(Clang) and pick up our targets.
|
|
|
|
# Clang doesn't have any CMake configuration settings yet because it mostly
|
|
# uses LLVM's. When it does, we should move this file to ClangConfig.cmake.in
|
|
# and call configure_file() on it.
|
|
|
|
# Provide all our library targets to users.
|
|
include("${CMAKE_CURRENT_LIST_DIR}/ClangTargets.cmake")
|