Skip to content

Be explicit about Boost dependency in io subsystem #187

Description

@daniel-j-h

Using find_package(Osmium REQUIRED io) and any_input/output.hpp fails at compile time if Boost is not installed:

/home/travis/build/mapbox/rewrite-exit-destination-signage/third_party/libosmium/include/osmium/io/detail/debug_output_format.hpp:44:25: fatal error: boost/crc.hpp: No such file or directory

 #include <boost/crc.hpp>

Shold FindOsmium.cmake check early for all required dependencies? As in:

find_package(Boost REQUIRED)

(Maybe even with components and a minimum version)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions