From 9e8f0b7409ff34b1235908b4c9d619b2a43d7a11 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 7 Sep 2018 20:05:30 +0300 Subject: Initial support for sending markdown formatted messages fixes #283 --- deps/cmake/Maddy.cmake | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 deps/cmake/Maddy.cmake (limited to 'deps/cmake') diff --git a/deps/cmake/Maddy.cmake b/deps/cmake/Maddy.cmake new file mode 100644 index 00000000..699d214d --- /dev/null +++ b/deps/cmake/Maddy.cmake @@ -0,0 +1,20 @@ +set(WINDOWS_FLAGS "") + +if(MSVC) + set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64") +endif() + +ExternalProject_Add( + Maddy + + URL ${MADDY_URL} + URL_HASH SHA256=${MADDY_HASH} + + BUILD_IN_SOURCE 1 + SOURCE_DIR ${DEPS_BUILD_DIR}/maddy + CONFIGURE_COMMAND ${CMAKE_COMMAND} + -DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR} + ${DEPS_BUILD_DIR}/maddy + ${WINDOWS_FLAGS}) + +list(APPEND THIRD_PARTY_DEPS Maddy) -- cgit 1.4.1