Disable shared cmark bundled build

remotes/origin/0.7.0-dev
Nicolas Werner 5 years ago
parent f2557a2f14
commit e964d90e70
  1. 2
      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)

Loading…
Cancel
Save