aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt8
-rw-r--r--lib/yacppdic/CMakeLists.txt4
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 0873b00..7fdf83c 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -24,6 +24,14 @@ FetchContent_Declare(
add_subdirectory(GSL)
+FetchContent_Declare(
+ yacppdic
+ GIT_REPOSITORY "https://git.hampusmat.com/yacppdic"
+ GIT_TAG v0.1.2
+)
+
+add_subdirectory(yacppdic)
+
if("${TESTING}")
FetchContent_Declare(
doctest
diff --git a/lib/yacppdic/CMakeLists.txt b/lib/yacppdic/CMakeLists.txt
new file mode 100644
index 0000000..73b7471
--- /dev/null
+++ b/lib/yacppdic/CMakeLists.txt
@@ -0,0 +1,4 @@
+message(STATUS "Fetching yacppdic...")
+
+FetchContent_MakeAvailable(yacppdic)
+