Add include(FetchContent) to readme

This commit is contained in:
Charles Giessen 2021-01-09 21:49:58 -07:00 committed by GitHub
parent ac945e8aa3
commit 81f5b31cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ target_link_libraries(your_application_name vk-bootstrap)
If cmake 3.12 is available, use the FetchContent capability of cmake to directly download and build the library for you.
```cmake
include(FetchContent)
FetchContent_Declare(
fetch_vk_bootstrap
GIT_REPOSITORY https://github.com/charles-lunarg/vk-bootstrap