Use fetch content compatible cmark version as bundled dep

This commit is contained in:
Nicolas Werner 2020-01-25 01:32:05 +01:00
parent 1271af6962
commit de13b16e13

View file

@ -339,7 +339,7 @@ if(USE_BUNDLED_CMARK)
FetchContent_Declare( FetchContent_Declare(
cmark cmark
GIT_REPOSITORY https://github.com/commonmark/cmark.git GIT_REPOSITORY https://github.com/commonmark/cmark.git
GIT_TAG 0.29.0 GIT_TAG 1ff180e23cc38ae82f30615e12b07e98f0794676 #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_TESTS=OFF CMARK_TESTS=OFF"
) )
FetchContent_MakeAvailable(cmark) FetchContent_MakeAvailable(cmark)