Browse Source

Merge topic 'wxwidgets_macos_weakframework' into release-3.16

ada1824dc5 FindwxWidgets: Add support for 3.1.3 on macOS

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4126
Brad King 6 years ago
parent
commit
db127457e3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Modules/FindwxWidgets.cmake

+ 2 - 0
Modules/FindwxWidgets.cmake

@@ -852,6 +852,8 @@ else()
         separate_arguments(wxWidgets_LIBRARIES)
         string(REPLACE "-framework;" "-framework "
           wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
+        string(REPLACE "-weak_framework;" "-weak_framework "
+          wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
         string(REPLACE "-arch;" "-arch "
           wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
         string(REPLACE "-isysroot;" "-isysroot "