[program_options] cmake issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[program_options] cmake issues

Boost - Users mailing list
Hey hey,
I get a cmake error about a non-existent directory from boost::program_options,
namely /include .
It only happens with the program_options library. Other libs included in the
project are date_time, filesystem and system.

A quick peak at
/lib/cmake/boost_program_options-1.72.0/boost_program_options-config.cmake
compared to the same file from date_time didn't give me any obvious hint
though. But I'm not very familiar with cmake.

The cmake line in my project to find these Boost packages is this:
find_package(Boost 1.58 REQUIRED COMPONENTS program_options filesystem
date_time system)

Here's the error message when running this with cmake:
[...]
Imported target "Boost::program_options" includes non-existent path
"/include"
in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[...]

Can someone reproduce the issue or suggest a fix?

Best wishes and TIA,

Jeanette

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

There's a girl in the mirror
I wonder who she is
Sometimes I think I know her
Sometimes I really wish I did <3
(Britney Spears)
_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users