Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kwoodle opened this issue Jun 7, 2020 · 1 comment
Open

Comments

@kwoodle
Copy link
Contributor

kwoodle commented Jun 7, 2020

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
@robertodr
Copy link
Collaborator

Hi, thanks for reporting this issue. Would you mind opening a pull request with the suggested solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants