influxdb-cpp icon indicating copy to clipboard operation
influxdb-cpp copied to clipboard

Can I load the header with FetchContent?

Open smaginmi opened this issue 1 year ago • 0 comments

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

smaginmi avatar Jul 03 '24 09:07 smaginmi