Boost logo

Boost :

From: Dennis Luehring (dl.soluz_at_[hidden])
Date: 2021-07-16 09:55:24


Am 16.07.2021 um 10:30 schrieb Peter Dimov via Boost:
>> � target_link_libraries(test ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
> This should be
>
> target_link_libraries(test Boost::unit_test_framework)
>
> The variables are old style CMake and shouldn't be used nowadays.

is there some setting to get such usage as warning - or do i need to
follow the cmake documentation

to understand what nowdays prefered?

set(CMAKE_WARN_DEPRECATED TRUE) does not really help

i think im surrounded by many lines of legacy cmake code


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk