From 4e2e69c9cb724aef51a0759a9f7df60c963c5ae9 Mon Sep 17 00:00:00 2001 From: John Beard Date: Mon, 25 Mar 2019 21:45:59 +0000 Subject: [PATCH] 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 aef369f4afa23b794f0e4e069a6ebfdf5efbce2c) --- common/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 13a4e6e0a8..5eb404680e 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -430,6 +430,7 @@ target_link_libraries( common ${Boost_LIBRARIES} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES} # empty on Apple + ${wxWidgets_LIBRARIES} )