diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 36ecbd6..2db94c4 100644 --- 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 |