]> granicus.if.org Git - libexpat/commitdiff
CMake: Windows: Revert "MT" naming postfix bits
authorSebastian Pipping <sebastian@pipping.org>
Wed, 21 Aug 2019 16:19:36 +0000 (18:19 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 21 Aug 2019 16:19:36 +0000 (18:19 +0200)
expat/CMakeLists.txt
expat/Changes

index 62713436f80988b183d3254d02fbb83ccc0af065..082322458b22c6742b953915e12bb503f910fba7 100644 (file)
@@ -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<postfix=[w][d][MT]>.dll")
+        set(${postfix_var} "${_POSTFIX_WIDE}${_POSTFIX_DEBUG}" CACHE STRING "Windows binary postfix, e.g. expat<postfix=[w][d]>.dll")
     endforeach()
 endif(WIN32)
 
index 9449f50640f1ee110f1160ae01163cde30fb8b7f..74b4806e90eac1b427db1efff7637362e5c5c3f6 100644 (file)
@@ -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)