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
An example of how to fetch a content that doesn't support Cmake:
FetchContent_Declare(
the_x_package
GIT_REPOSITORY https://github.com/thepackage.git
)
FetchContent_GetProperties(the_x_package)
if(NOT the_x_package_POPULATED)
FetchContent_Populate(the_x_package)
# Let say it is a header only lib:add_library(the_x_lib INTERFACE)
target_include_directories(the_x_lib INTERFACE${the_x_package_SOURCE_DIR})
endif()
The text was updated successfully, but these errors were encountered:
From #3
The text was updated successfully, but these errors were encountered: