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

CMake find boost cannot find headers component #37

Open
CKraniak opened this issue Jun 18, 2021 · 0 comments
Open

CMake find boost cannot find headers component #37

CKraniak opened this issue Jun 18, 2021 · 0 comments

Comments

@CKraniak
Copy link

This is one of two CMake issues I ran into.

While running CMake, I ran into an issue where in /include/libnest2d/backends/clipper/CMakeLists.txt the line:

require_package(Boost VERSION 1.58 REQUIRED COMPONENTS headers)

... caused the configuration to fail with error saying it could not locate boost_headers.

I fixed by changing the above to:

require_package(Boost VERSION 1.58)

CMake version is 3.7.2 (from about Jan. 2017). I'm assuming either older or newer CMakes don't have this issue, not entirely sure.

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

1 participant