[CMake] Question about find_packages.

Workbench@gmx.at workbench at gmx.at
Fri Mar 15 12:06:51 EDT 2019


I allways get the error:

CMake Error at CMakeLists.txt:78 (find_package):
  Could not find a package configuration file provided by "Clang" (requested
  version 4.0) with any of the following names:

    libclang-4.0.soConfig.cmake
    libclang-4.0.so-config.cmake

  Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
  "Clang_DIR" to a directory containing one of the above files.  If "Clang"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

On 15.03.19 17:03, Workbench at gmx.at wrote:
> Hi everyone,
>
> i try to use find_packages for clang, i'm on debian and have installed
> libclang-4.0-dev package, now i've the files in
> /usr/lib/llvm4-0/lib/libclang-4.0.so and the include in
> /usr/lib/llvm-4.0/include/clang - how can i make find_package find those ??
>
>
> best regards!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190315/e7a909a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2452 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20190315/e7a909a1/attachment.key>


More information about the CMake mailing list