diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2022-10-07 23:04:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 23:04:30 +0200 |
commit | ea4a24d7643667eb4200eee1fe2f232d54e06abf (patch) | |
tree | fcb94e0faf9f486a27224b4205aa5353a99007fb | |
parent | eb976a36d0150402620e498420c9491422565fc1 (diff) | |
parent | 90bc7cf0ab81fad0f21c6796de8c4f10d40d964c (diff) | |
download | libexpat-git-ea4a24d7643667eb4200eee1fe2f232d54e06abf.tar.gz |
Merge pull request #658 from Osyotr/patch-1
[2.4.9] CMake: Fix static library name when building with MinGW
-rw-r--r-- | expat/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 044877e7..a1ffe874 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -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() |