Boost logo

Boost Users :

From: Jeanette C. (julien_at_[hidden])
Date: 2020-04-09 06:26:56


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net