Boost logo

Boost :

From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2021-06-03 17:42:15

On 03/06/2021 14:54, Andrey Semashev via Boost wrote:

> For the check_cxx_source_compiles calls, I would have liked to add
> targets like Boost::config and Boost::winapi to CMAKE_REQUIRED_LIBRARIES
> so that the checks are compiled with include directories of those
> dependencies added in the command line. This doesn't work because these
> targets may not be defined at the point when the configuration checks
> are performed.

You might find `if(TARGET <tgt>)` useful here.


Boost list run by bdawes at, gregod at, cpdaniel at, john at