16 Jul
2021
16 Jul
'21
9:55 a.m.
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