Skip to content

Commit

Permalink
like CYGWIN, MINGW does the right thing with static library name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsantiago0 committed Apr 11, 2018
1 parent 5276995 commit c6b0cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ if (srt_libspec_static)
# - a shared library exposer, which allows pre-resolution and later dynamic
# linkage when running the executable
# Both having unfortunately the same names created by MSVC compiler.
# It's not the case of Cygwin - they are named there libsrt.a and libsrt.dll.a
if (WIN32 AND NOT CYGWIN)
# It's not the case of Cygwin/MINGW - they are named there libsrt.a and libsrt.dll.a
if (MICROSOFT)
# Keep _static suffix. By unknown reason, the name must still be set explicitly.
set_property(TARGET ${TARGET_srt}_static PROPERTY OUTPUT_NAME ${TARGET_srt}_static)
else()
Expand Down

0 comments on commit c6b0cdf

Please sign in to comment.