mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
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:
parent
868e49cffd
commit
d3a02679b8
@ -496,7 +496,7 @@ set_target_properties(
|
|||||||
VERSION ${PROJECT_VERSION}
|
VERSION ${PROJECT_VERSION}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(MSVC)
|
||||||
if(BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
set_target_properties(
|
set_target_properties(
|
||||||
LibXml2
|
LibXml2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user