use FetchContent to retrieve TOML test data

This commit is contained in:
Jordan Williams
2020-02-18 19:37:28 -06:00
parent ac1130f9f4
commit 4c34986db0
7 changed files with 74 additions and 26 deletions

9
dependencies/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,9 @@
include(FetchContent)
if (toml11_BUILD_TEST)
FetchContent_Declare(toml
GIT_REPOSITORY https://github.com/toml-lang/toml
GIT_TAG v0.5.0)
FetchContent_MakeAvailable(toml)
endif ()