summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Degawa <ccom@randomderp.com>2021-03-15 13:44:34 -0500
committerChristopher Degawa <ccom@randomderp.com>2021-03-16 13:04:53 -0500
commitd3a02679b87443c6034cf36ad0c007070edf663b (patch)
treecbfb4bc07aa51c9de2d128af7556994732b5923b
parent868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1 (diff)
downloadlibxml2-d3a02679b87443c6034cf36ad0c007070edf663b.tar.gz
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>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d6ee9ec7..a437717b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -496,7 +496,7 @@ set_target_properties(
VERSION ${PROJECT_VERSION}
)
-if(WIN32)
+if(MSVC)
if(BUILD_SHARED_LIBS)
set_target_properties(
LibXml2