From e3d6578214c3481513a1f32039b9483076d50268 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 21 Aug 2019 18:19:36 +0200 Subject: [PATCH] CMake: Windows: Revert "MT" naming postfix bits --- expat/CMakeLists.txt | 6 +----- expat/Changes | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) 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) -- 2.40.0