CMake: Only add postfixes if MSVC

Currently, it catches mingw-w64 in there as well, but mingw-w64 follows
linux-like naming with no weird postfixes

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
This commit is contained in:
Christopher Degawa 2021-03-15 13:44:34 -05:00
parent 868e49cffd
commit d3a02679b8
No known key found for this signature in database
GPG Key ID: 40BDA1D2A156699E

View File

@ -496,7 +496,7 @@ set_target_properties(
VERSION ${PROJECT_VERSION}
)
if(WIN32)
if(MSVC)
if(BUILD_SHARED_LIBS)
set_target_properties(
LibXml2