summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-18 21:48:15 +0500
committerilotterytea <iltsu@alright.party>2024-05-18 21:48:15 +0500
commit6e3e3bbf0d031f60eaf242474d47d14ed7c4fca5 (patch)
treed22112c6f7817055690d3549e50e224f083df3e3 /CMakeLists.txt
parent440b607eb5812ab68692db1d2866eff270fc0ce0 (diff)
feat: added maddy dependency
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2bd6745..2580a92 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,5 +88,14 @@ if (BUILD_WEB)
)
FetchContent_MakeAvailable(crow)
+ # markdown parser
+ FetchContent_Declare(
+ maddy
+ GIT_REPOSITORY https://github.com/progsource/maddy.git
+ GIT_TAG 1.3.0
+ )
+ FetchContent_MakeAvailable(maddy)
+
target_include_directories(Web PRIVATE ${crow_SOURCE_DIR}/include)
+ target_link_libraries(Web PRIVATE maddy)
endif()