Fix MSYS2 build breakage

wxPlatformInfo::Get() causes a linker error on Msys2.

Fix this by making common link wx explicitly, rather
than implicity via it's dependencies, which cause
wrong-order linker command lines on windows.
This commit is contained in:
John Beard 2019-03-25 21:45:59 +00:00
parent 567bdd9b9d
commit aef369f4af
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ target_link_libraries( common
${Boost_LIBRARIES}
${CURL_LIBRARIES}
${OPENSSL_LIBRARIES} # empty on Apple
${wxWidgets_LIBRARIES}
)