From: Sebastian Pipping Date: Wed, 21 Aug 2019 16:19:36 +0000 (+0200) Subject: CMake: Windows: Revert "MT" naming postfix bits X-Git-Tag: R_2_2_8~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d6578214c3481513a1f32039b9483076d50268;p=libexpat CMake: Windows: Revert "MT" naming postfix bits --- diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 62713436..08232245 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -186,10 +186,6 @@ if(WIN32) set(_POSTFIX_WIDE "w") endif() - if(MSVC_USE_STATIC_CRT) - set(_POSTFIX_CRT "MT") - endif() - foreach(postfix_var CMAKE_DEBUG_POSTFIX CMAKE_RELEASE_POSTFIX @@ -202,7 +198,7 @@ if(WIN32) set(_POSTFIX_DEBUG "") endif() - set(${postfix_var} "${_POSTFIX_WIDE}${_POSTFIX_DEBUG}${_POSTFIX_CRT}" CACHE STRING "Windows binary postfix, e.g. expat.dll") + set(${postfix_var} "${_POSTFIX_WIDE}${_POSTFIX_DEBUG}" CACHE STRING "Windows binary postfix, e.g. expat.dll") endforeach() endif(WIN32) diff --git a/expat/Changes b/expat/Changes index 9449f506..74b4806e 100644 --- a/expat/Changes +++ b/expat/Changes @@ -27,7 +27,7 @@ Release x.x.x xxx xxx xx xxxx #265 CMake: Fix linking with MinGW #316 CMake: Windows: Make binary postfix match MSVC Old: expat[d].lib - New: expat[w][d][MT].lib + New: expat[w][d].lib CMake: Migrate files from Windows to Unix line endings #299 #302 Windows: Replace LoadLibrary hack to access unofficial API function SystemFunction036 (RtlGenRandom)