aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt8
-rw-r--r--lib/ctre/CMakeLists.txt3
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 84c5a77..9a18dbe 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -24,6 +24,14 @@ FetchContent_Declare(
add_subdirectory(yacppdic)
+FetchContent_Declare(
+ ctre
+ GIT_REPOSITORY "https://github.com/hanickadot/compile-time-regular-expressions"
+ GIT_TAG v3.7
+)
+
+add_subdirectory(ctre)
+
if(test)
FetchContent_Declare(
gtest
diff --git a/lib/ctre/CMakeLists.txt b/lib/ctre/CMakeLists.txt
new file mode 100644
index 0000000..3f2aced
--- /dev/null
+++ b/lib/ctre/CMakeLists.txt
@@ -0,0 +1,3 @@
+message(STATUS "Fetching ctre...")
+
+FetchContent_MakeAvailable(ctre)