mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-15 09:44:36 +00:00
CMake: Fix guard for EXPAT_MSVC_STATIC_CRT from WIN32 to MSVC
This commit is contained in:
parent
23d85f447b
commit
5a0df05f53
1 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ if(WIN32)
|
|||
set(_POSTFIX_WIDE "w")
|
||||
endif()
|
||||
|
||||
if(NOT EXPAT_SHARED_LIBS)
|
||||
if(MSVC AND NOT EXPAT_SHARED_LIBS)
|
||||
if(EXPAT_MSVC_STATIC_CRT)
|
||||
set(_POSTFIX_CRT "MT")
|
||||
else()
|
||||
|
@ -535,7 +535,7 @@ message(STATUS "Configuration")
|
|||
message(STATUS " Prefix ..................... ${CMAKE_INSTALL_PREFIX}")
|
||||
message(STATUS " Build type ................. ${CMAKE_BUILD_TYPE}")
|
||||
message(STATUS " Shared libraries ........... ${EXPAT_SHARED_LIBS}")
|
||||
if(WIN32)
|
||||
if(MSVC)
|
||||
message(STATUS " Static CRT ................. ${EXPAT_MSVC_STATIC_CRT}")
|
||||
endif()
|
||||
message(STATUS " Character type ............. ${_EXPAT_CHAR_TYPE_SUMMARY}")
|
||||
|
|
Loading…
Add table
Reference in a new issue