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

Can I load the header with FetchContent? #49

Open
smaginmi opened this issue Jul 3, 2024 · 0 comments
Open

Can I load the header with FetchContent? #49

smaginmi opened this issue Jul 3, 2024 · 0 comments

Comments

@smaginmi
Copy link

smaginmi commented Jul 3, 2024

Is it possible to use FetchContent in my CMakeLists file to load the header into my build using the current layout of this project?
I could not get it to work.

This was my approach

include(FetchContent)

FetchContent_Declare(influxdb 
    GIT_REPOSITORY https://github.com/orca-zhang/influxdb-cpp
    GIT_TAG master
)

FetchContent_MakeAvailable(influxdb)

###
# followd by macro that includes the dep
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