Merge pull request #658 from Osyotr/patch-1

[2.4.9] CMake: Fix static library name when building with MinGW
This commit is contained in:
Sebastian Pipping 2022-10-07 23:04:30 +02:00 committed by GitHub
commit ea4a24d764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -459,7 +459,7 @@ if(NOT WIN32)
endif()
endif()
if(MINGW)
if(MINGW AND EXPAT_SHARED_LIBS)
set_target_properties(expat PROPERTIES SUFFIX "-${LIBCURRENT_MINUS_AGE}.dll")
endif()