mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
COMP: Consistent FetchContent usage
This commit is contained in:
4
vendor/peglib.cmake
vendored
4
vendor/peglib.cmake
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user