diff options
author | Tobias Taschner <tct2k@users.noreply.github.com> | 2019-12-10 14:23:52 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-10 09:11:14 -0500 |
commit | ada1824dc513b89a44aea5a8db955652ff7ce8f2 (patch) | |
tree | 0f8d460f9691714ca7a3f3b1f3e5495164e1eb91 | |
parent | 1b4482f65dd41f21ec8abc0777b8dc1f0381bbd6 (diff) | |
download | cmake-ada1824dc513b89a44aea5a8db955652ff7ce8f2.tar.gz |
FindwxWidgets: Add support for 3.1.3 on macOS
Previously only -framework was used starting with 3.1.3 -weak_framework
might also be used and has to be handled.
-rw-r--r-- | Modules/FindwxWidgets.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 4334e2254e..93ac51dee8 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 " |