Skip to content

chapter-08/recipe-02/cxx-example/external/upstream/boost/CMakeLists.txt #519

@kwoodle

Description

@kwoodle

cmake fails with boost_find_component Macro invoked with incorrect arguments

Possible Solution

replace find_package(Boost ${Boost_MINIMUM_REQUIRED} QUIET COMPONENTS "${BOOST_COMPONENTS_REQUIRED}")
with find_package(Boost ${Boost_MINIMUM_REQUIRED} QUIET COMPONENTS ${BOOST_COMPONENTS_REQUIRED})

Environment

  • Version used: cmake 3.16.5
  • Operating System and version: Pop!_OS 20.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions