From 9fd3b609a3f2a91d2d38b7f0bc79fda637e0bcb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?=
 <4973094+kmilos@users.noreply.github.com>
Date: Sun, 31 Mar 2024 16:01:54 +0200
Subject: [PATCH] Update libaec-config.cmake.in

Import library is a platform thing, not just MSVC.
---
 cmake/libaec-config.cmake.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/libaec-config.cmake.in b/cmake/libaec-config.cmake.in
index 6f6c9e9..ce5d4cc 100644
--- a/cmake/libaec-config.cmake.in
+++ b/cmake/libaec-config.cmake.in
@@ -60,7 +60,7 @@ if (libaec_FOUND)
   else ()
     add_library(libaec::aec SHARED IMPORTED)
     target_compile_definitions(libaec::aec INTERFACE LIBAEC_SHARED)
-    if (MSVC)
+    if (WIN32)
       set_target_properties(libaec::aec PROPERTIES
         IMPORTED_IMPLIB "${libaec_LIBRARY}"
       )
@@ -77,7 +77,7 @@ if (libaec_FOUND)
   else ()
     add_library(libaec::sz SHARED IMPORTED)
     target_compile_definitions(libaec::sz INTERFACE LIBAEC_SHARED)
-    if (MSVC)
+    if (WIN32)
       set_target_properties(libaec::sz PROPERTIES
         IMPORTED_IMPLIB "${SZIP_LIBRARY}"
       )
-- 
GitLab