Skip to content
Snippets Groups Projects
Commit d22df5be authored by Miguel A. Figueroa-Villanueva's avatar Miguel A. Figueroa-Villanueva
Browse files

BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007).

parent e4ac63fa
No related branches found
No related tags found
No related merge requests found
......@@ -591,6 +591,10 @@ ELSE(WIN32_STYLE_FIND)
SEPARATE_ARGUMENTS(wxWidgets_LIBRARIES)
STRING(REPLACE "-framework;" "-framework "
wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
STRING(REPLACE "-arch;" "-arch "
wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
STRING(REPLACE "-isysroot;" "-isysroot "
wxWidgets_LIBRARIES "${wxWidgets_LIBRARIES}")
# extract linkdirs (-L) for rpath (i.e., LINK_DIRECTORIES)
STRING(REGEX MATCHALL "-L[^;]+"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment