Using CMake targets, information about include directories, libraries, link flags,... is contained in the target and added to the dependencies.
One doubt I have:
Not sure if Boost_LIBRARIES variable already contains the target. If not, we should use Boost::program_options Boost::regex Boost:serialization (or the required targets for each library).
As the other PR, I hope this is not breaking existing builds, if so, let me know how to reproduce them and I will work on these changes.
Using CMake targets, information about include directories, libraries, link flags,... is contained in the target and added to the dependencies.
One doubt I have:
Boost_LIBRARIES
variable already contains the target. If not, we should useBoost::program_options Boost::regex Boost:serialization
(or the required targets for each library).As the other PR, I hope this is not breaking existing builds, if so, let me know how to reproduce them and I will work on these changes.