diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2020-01-12 02:22:06 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-01-11 22:22:10 -0800 |
commit | 6b999d990504d02206b20befbc5fbaea9b8e2306 (patch) | |
tree | 1877aa34f1105fe6e91b6144603f5d4115cb8312 /src/CMakeLists.txt | |
parent | f68678bf9ea6c5a5d9232c4b0f4a6bcc4d87b6df (diff) |
Fix CMake generator expression checking for MSVC
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 |