aom: cmake: don't change outputname of aom_static on MSVC

From 468978878da59fac9eef1da16d2242e80b0f8965 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 25 Jan 2024 20:09:04 +0100
Subject: [PATCH] cmake: don't change outputname of aom_static on MSVC

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87d88fa647..ed9cdccb7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -273,7 +273,9 @@ endif()
 add_library(aom ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
 if(BUILD_SHARED_LIBS)
   add_library(aom_static STATIC ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
+  if(NOT MSVC)
   set_target_properties(aom_static PROPERTIES OUTPUT_NAME aom)
+  endif()
 
   if(NOT MSVC)
     # Extract version string and set VERSION/SOVERSION for the aom target.