COMP: Consistent FetchContent usage

This commit is contained in:
David Allemang
2023-02-04 13:41:14 -05:00
parent 6c3754a3fa
commit 6ade8c8215
9 changed files with 31 additions and 1 deletions

4
vendor/peglib.cmake vendored
View File

@@ -1,10 +1,14 @@
include(FetchContent)
FetchContent_Declare(
peglib
GIT_REPOSITORY https://github.com/yhirose/cpp-peglib
GIT_TAG v1.8.2
GIT_PROGRESS TRUE
)
set(PEGLIB_BUILD_TESTS OFF CACHE INTERNAL "")
FetchContent_GetProperties(peglib)
if(NOT ${peglib}_POPULATED)
FetchContent_Populate(peglib)