[cmake-developers] Proposed new CMake module FindITT.cmake
Brad King
brad.king at kitware.com
Tue May 29 11:12:16 EDT 2018
On 05/29/2018 10:30 AM, Gurulev, Dmitry wrote:
> Although IntelSEAPI (which contains ITT sources) is a CMake based
> library, ITT itself might be used as standalone binary library, so
> finding module still makes sense
If the upstream is CMake-friendly it should provide a CMake Package
Configuration File with its SDK along with the headers and libraries.
See documentation here:
https://cmake.org/cmake/help/v3.11/manual/cmake-packages.7.html
That will allow `find_package` to work without any find module
and without guessing which headers and libraries match.
Thanks,
-Brad
More information about the cmake-developers
mailing list