From d36ec4670770022c0ec8337f6df4de292ca941db Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 25 Feb 2022 18:13:54 +0100 Subject: build: add ctre library dependency --- lib/CMakeLists.txt | 9 +++++++++ lib/ctre/CMakeLists.txt | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 lib/CMakeLists.txt create mode 100644 lib/ctre/CMakeLists.txt (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt new file mode 100644 index 0000000..16c32fd --- /dev/null +++ b/lib/CMakeLists.txt @@ -0,0 +1,9 @@ +include(FetchContent) + +FetchContent_Declare( + ctre + GIT_REPOSITORY "https://github.com/hanickadot/compile-time-regular-expressions" + GIT_TAG v3.5 +) + +add_subdirectory(ctre) diff --git a/lib/ctre/CMakeLists.txt b/lib/ctre/CMakeLists.txt new file mode 100644 index 0000000..1f05163 --- /dev/null +++ b/lib/ctre/CMakeLists.txt @@ -0,0 +1,4 @@ +message(STATUS "Fetching ctre...") + +FetchContent_MakeAvailable(ctre) + -- cgit v1.2.3-18-g5258