cmark

My personal build of CMark ✏️

Commit
a137b3ea396213374c25563783337a07bd7e076b
Parent
c140ea1bc5612233c7ef7063787e3864c08b304a
Author
John MacFarlane <jgm@berkeley.edu>
Date

Shared library is again libcmark.

Diffstat

1 file changed, 3 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/CMakeLists.txt 4 3 1
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 2.8)
-set(LIBRARY "commonmark")
+set(LIBRARY "cmark-shared")
 set(HEADERS
   cmark.h
   buffer.h
@@ -53,6 +53,8 @@ endif(MSVC)
 add_executable(${PROGRAM} ${PROGRAM_SOURCES})
 
 add_library(${LIBRARY} SHARED ${LIBRARY_SOURCES})
+set_target_properties(${LIBRARY}
+  PROPERTIES OUTPUT_NAME "cmark")
 
 set_property(TARGET ${LIBRARY}
   APPEND PROPERTY MACOSX_RPATH true)