summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()