nutri/cmake/FindCTRE.cmake

12 lines
274 B
CMake

find_package(ctre QUIET)
if(NOT ctre_FOUND)
include(FetchContent)
FetchContent_Declare(
ctre
GIT_REPOSITORY https://github.com/hanickadot/compile-time-regular-expressions.git
GIT_TAG v3.9.0
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(ctre)
endif()