summaryrefslogtreecommitdiff
path: root/src/cmarkConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmarkConfig.cmake.in')
-rw-r--r--src/cmarkConfig.cmake.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmarkConfig.cmake.in b/src/cmarkConfig.cmake.in
new file mode 100644
index 0000000..fbf5cdf
--- /dev/null
+++ b/src/cmarkConfig.cmake.in
@@ -0,0 +1,7 @@
+set(HAVE_LIBCMARK_STATIC @CMARK_STATIC@)
+set(HAVE_LIBCMARK_SHARED @CMARK_SHARED@)
+
+if((HAVE_LIBCMARK_STATIC AND NOT TARGET libcmark_static) OR
+ (HAVE_LIBCMARK_SHARED AND NOT TARGET libcmark))
+ include(cmarkTargets.cmake)
+endif()