mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
1b4482f65d
commit
ada1824dc5
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user