[CMake] Can find_package(...) distinguish between debug and release installs?

Saad Khattak saadrustam at gmail.com
Mon Apr 9 21:56:03 EDT 2018


Hi,

When find_package(LibA) sets the LibA_FOUND variable, is it possible to
know if the package found is the Debug or Release build (or both)? I have a
fairly complex build setup where I need to be able to distinguish if
find_package(LibA) found a Debug or Release build.

- Saad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180410/af066d06/attachment.html>


More information about the CMake mailing list