Is it possible to make FetchContent support? If I use this declaration:
FetchContent_Declare(
hiredis
GIT_REPOSITORY https://github.com/redis/hiredis
GIT_TAG origin/master
GIT_SHALLOW TRUE
)
set(DISABLE_TESTS OFF)
FetchContent_MakeAvailable(hiredis)
I get header files inside _deps/hiredis-src, not include/hiredis/ and this leads to build error for Redis++ library.
Is it possible to make FetchContent support? If I use this declaration:
I get header files inside
_deps/hiredis-src, notinclude/hiredis/and this leads to build error for Redis++ library.