Open bratne opened 2 years ago
Boost::any
is a separate library/target than program_options. You could add fetching https://github.com/boostorg/any.git
to retrieve this target, though you may end up needing another library that Boost Program Options also depends on. You could instead try fetching the super project boost repository than has all Boost libraries, https://github.com/boostorg/boost
. This will give you all Boost libraries, but you should still only have access to and build the explicit targets you link to, like (Boost::program_options
).
I trying to include program_options in a simple testapp, by using CMake.
Trying to build this yields