From 6b999d990504d02206b20befbc5fbaea9b8e2306 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sun, 12 Jan 2020 02:22:06 +0100 Subject: Fix CMake generator expression checking for MSVC --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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$<$:_static>" + OUTPUT_NAME "cmark$<$:_static>" POSITION_INDEPENDENT_CODE ON VERSION ${PROJECT_VERSION}) target_include_directories(${STATICLIBRARY} INTERFACE -- cgit v1.2.3