cmark

My personal build of CMark ✏️

Commit
6b999d990504d02206b20befbc5fbaea9b8e2306
Parent
f68678bf9ea6c5a5d9232c4b0f4a6bcc4d87b6df
Author
Nick Wellnhofer <wellnhofer@aevum.de>
Date

Fix CMake generator expression checking for MSVC

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified src/CMakeLists.txt 2 1 1
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -91,7 +91,7 @@ if (CMARK_STATIC)
   add_library(${STATICLIBRARY} STATIC ${LIBRARY_SOURCES})
   set_target_properties(${STATICLIBRARY} PROPERTIES
     COMPILE_FLAGS -DCMARK_STATIC_DEFINE
-    OUTPUT_NAME "cmark$<$<BOOL:MSVC>:_static>"
+    OUTPUT_NAME "cmark$<$<BOOL:${MSVC}>:_static>"
     POSITION_INDEPENDENT_CODE ON
     VERSION ${PROJECT_VERSION})
   target_include_directories(${STATICLIBRARY} INTERFACE