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