mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
use FetchContent to retrieve TOML test data
This commit is contained in:
9
dependencies/CMakeLists.txt
vendored
Normal file
9
dependencies/CMakeLists.txt
vendored
Normal 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 ()
|
Reference in New Issue
Block a user