--- a/tiledb/CMakeLists.txt
+++ b/tiledb/CMakeLists.txt
@@ -862,7 +862,7 @@
     )
 endif()
 
-if (TILEDB_VERSION AND CMAKE_SYSTEM_NAME MATCHES "Linux")
+if (NOT MSVC)
   set_target_properties(tiledb
     PROPERTIES
       SOVERSION "${TILEDB_VERSION_MAJOR}.${TILEDB_VERSION_MINOR}")
