aboutsummaryrefslogtreecommitdiff
path: root/ports/cmark
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cmark')
-rw-r--r--ports/cmark/CONTROL6
-rw-r--r--ports/cmark/portfile.cmake9
2 files changed, 6 insertions, 9 deletions
diff --git a/ports/cmark/CONTROL b/ports/cmark/CONTROL
index 6f756e824..8528ca579 100644
--- a/ports/cmark/CONTROL
+++ b/ports/cmark/CONTROL
@@ -1,3 +1,3 @@
-Source: cmark
-Version: 0.28.3-2
-Description: CommonMark parsing and rendering library
+Source: cmark
+Version: 0.29.0
+Description: CommonMark parsing and rendering library
diff --git a/ports/cmark/portfile.cmake b/ports/cmark/portfile.cmake
index 97324b4bf..da7ac329f 100644
--- a/ports/cmark/portfile.cmake
+++ b/ports/cmark/portfile.cmake
@@ -1,15 +1,12 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- # Note: fails due to missing cmark_export.h -- fix should be to always generate the correct export header.
- message(FATAL_ERROR "cmark does not currently support static library linkage")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO commonmark/cmark
- REF 0.28.3
- SHA512 409105a3228a8ae22ba6acf95cd99bc9a2c20f8603aa0e803a33172eb6ef53f80f8f0262d2258b77f9fd6e1f2e9017a6c906b88f761e053c09ef88c9ffab7d29
+ REF 0.29.0
+ SHA512 06eb110cfd90c9e980c022b7588e28864d15a4da5d07d61ad4b27c6de47367492b9e58e9434e62b07517aa6dc484f17af13916808be3188f38c37d20cbf33112
HEAD_REF master
PATCHES
"${CMAKE_CURRENT_LIST_DIR}/rename-shared-lib.patch"