Skip to content

Commit

Permalink
Update libaec-config.cmake.in
Browse files Browse the repository at this point in the history
Import library is a platform thing, not just MSVC.
  • Loading branch information
kmilos authored Mar 31, 2024
1 parent 58677db commit 9fd3b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/libaec-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)
Expand All @@ -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}"
)
Expand Down

0 comments on commit 9fd3b60

Please sign in to comment.