From e964d90e7009de162d995f8d65ed872a628d5c1e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 25 Jan 2020 19:47:54 +0100 Subject: [PATCH] Disable shared cmark bundled build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad9cbdea..441d7327 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -341,7 +341,7 @@ if(USE_BUNDLED_CMARK) cmark GIT_REPOSITORY https://github.com/commonmark/cmark.git GIT_TAG 242e277a661ec7e51f34dcaf86c1925d550b1498 #0.29.0 << doesn't work with fetch content yet - CMAKE_ARGS "CMARK_STATIC=ON CMARK_TESTS=OFF CMARK_TESTS=OFF" + CMAKE_ARGS "CMARK_STATIC=ON CMARK_SHARED=OFF CMARK_TESTS=OFF CMARK_TESTS=OFF" ) FetchContent_MakeAvailable(cmark) add_library(cmark::cmark ALIAS libcmark_static)