-
Notifications
You must be signed in to change notification settings - Fork 151
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
Add tags for boost versions #97
Comments
This would be really cool as it would help in using this repo with CPM. CPM uses the tags for versioning. |
FYI, for use with CPM, I ended up doing the following (bypassing this repo since I only need header-only parts of boost anyway and to be able to update the version of boost when I want): CPMAddPackage(
NAME Boost
VERSION 1.76.0
URL https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
DOWNLOAD_ONLY True
)
if(Boost_ADDED)
# Define the header-only Boost target
add_library(Boost::boost INTERFACE IMPORTED GLOBAL)
target_include_directories(Boost::boost SYSTEM INTERFACE ${Boost_SOURCE_DIR})
# Disable autolink
target_compile_definitions(Boost::boost INTERFACE BOOST_ALL_NO_LIB=1)
endif()
target_link_libraries(<your_target> Boost::boost) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see that new boost versions are being added to the repo, but the repo tags aren't updated.
Can you please update the tags to make it easier for shallow clones or other tag-based downloads?
The text was updated successfully, but these errors were encountered: