diff options
author | Christopher Degawa <ccom@randomderp.com> | 2021-03-15 13:44:34 -0500 |
---|---|---|
committer | Christopher Degawa <ccom@randomderp.com> | 2021-03-16 13:04:53 -0500 |
commit | d3a02679b87443c6034cf36ad0c007070edf663b (patch) | |
tree | cbfb4bc07aa51c9de2d128af7556994732b5923b | |
parent | 868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1 (diff) | |
download | libxml2-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.txt | 2 |
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 |