Skip to content

Commit

Permalink
Merge pull request #34 from kmilos/patch-1
Browse files Browse the repository at this point in the history
Update libaec-config.cmake.in
  • Loading branch information
MathisRosenhauer authored Apr 2, 2024
2 parents 58677db + 9fd3b60 commit d620653
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 d620653

Please sign in to comment.