You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on macOS Monterey trying to get vcpkg to use g++-12 to build Boost because my system's clang doesn't have all the C++20 features I want to use. I can easily get CMake to use g++-12 for my own code with -DCMAKE_CXX_COMPILER but vcpkg doesn't seem to take this into account which causes linking errors when the build tries to link Boost.
This is the command I'm running to configure my project:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm on macOS Monterey trying to get vcpkg to use g++-12 to build Boost because my system's clang doesn't have all the C++20 features I want to use. I can easily get CMake to use g++-12 for my own code with
-DCMAKE_CXX_COMPILER
but vcpkg doesn't seem to take this into account which causes linking errors when the build tries to link Boost.This is the command I'm running to configure my project:
How can I get vcpkg to respect my compiler choice?
Beta Was this translation helpful? Give feedback.
All reactions