From 40d02748924aa7c48b04cf948204d8dacdfbbc74 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 30 Apr 2022 16:28:13 +0200 Subject: refactor: replace DI files with the yacppdic library --- lib/CMakeLists.txt | 8 ++++++++ lib/yacppdic/CMakeLists.txt | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 lib/yacppdic/CMakeLists.txt (limited to 'lib') 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) + -- cgit v1.2.3-18-g5258