set(_POSTFIX_WIDE "w")
endif()
- if(MSVC_USE_STATIC_CRT)
- set(_POSTFIX_CRT "MT")
- endif()
-
foreach(postfix_var
CMAKE_DEBUG_POSTFIX
CMAKE_RELEASE_POSTFIX
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)
#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)