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

Fix CMake error #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix CMake error #45

wants to merge 1 commit into from

Conversation

Megidd
Copy link
Contributor

@Megidd Megidd commented Feb 16, 2022

Trying to fix a CMake error:

Could NOT find Boost (missing: headers)

Reference:
https://stackoverflow.com/q/62782361

2022-02-16 04_39_51-Window

Could NOT find Boost (missing: headers)

Reference:
https://stackoverflow.com/q/62782361
@Megidd
Copy link
Contributor Author

Megidd commented Feb 16, 2022

Test

Test shows that after this PR, these statements are fine without any error:

mkdir build
cd build
cmake .. -DLIBNEST2D_HEADER_ONLY=OFF -DCMAKE_INSTALL_PREFIX=./installdir -DCMAKE_TOOLCHAIN_FILE=C:\Users\m3\repos\vcpkg\scripts\buildsystems\vcpkg.cmake
cmake --build . --target install
cmake --build . --target install --config Release

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

Successfully merging this pull request may close these issues.

1 participant