summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-10 14:28:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-10 14:29:01 (GMT)
commit6dffb10444dd1b3438fe1549e499c6efc777a04f (patch)
treed054834cecda60af28ee4b516003dd62886244a7 /Modules
parente0d856e8f028a8042ebcdb5789c33cecabd4710f (diff)
parentada1824dc513b89a44aea5a8db955652ff7ce8f2 (diff)
downloadCMake-6dffb10444dd1b3438fe1549e499c6efc777a04f.zip
CMake-6dffb10444dd1b3438fe1549e499c6efc777a04f.tar.gz
CMake-6dffb10444dd1b3438fe1549e499c6efc777a04f.tar.bz2
Merge topic 'wxwidgets_macos_weakframework'
ada1824dc5 FindwxWidgets: Add support for 3.1.3 on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4126
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindwxWidgets.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 4334e22..93ac51d 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/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 "