[program_options] cmake discovery issue

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

[program_options] cmake discovery issue

Boost - Users mailing list
I can't say when these errors first appeared, certainly not in Boost 1.63 . I
have a project working with cmake and the following cmmake lines:
find_package(Boost 1.58 REQUIRED COMPONENTS program_options filesystem
date_time system)
   set (INCS ${INCS} ${Boost_INCLUDE_DIRS})

Which says that it found the libraries and lower down produces this error:
CMake Error in CMakeLists.txt:
   Imported target "Boost::program_options" includes non-existent path
   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
   * The path was deleted, renamed, or moved to another location.
   * An install or uninstall procedure did not complete successfully.
   * The installation package was faulty and references files it does not provide.
This error appears twice in the output.

My cmake skills are too meagre to trace it to a particular point in the Boost
Cmake modules.

Could someone please help? Is it perhaps my fault for not updating a call

Best wishes and TIA,


  * 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 no time to loose
And next week,
You might not see me here <3
(Britney Spears)
Boost-users mailing list
[hidden email]