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.

(cherry picked from commit aef369f4af)
This commit is contained in:
John Beard 2019-03-25 21:45:59 +00:00
parent 6f78bb6960
commit 4e2e69c9cb
1 changed files with 1 additions and 0 deletions

View File

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