diff options
author | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2007-11-12 18:52:45 (GMT) |
---|---|---|
committer | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2007-11-12 18:52:45 (GMT) |
commit | d22df5bef40c1c922696d8fab78832efb66a5841 (patch) | |
tree | 647ff56d3d7aa2da86fe92600733d1acd86f3395 | |
parent | e4ac63fa724c9f253c04994f4e39616efedd4d71 (diff) | |
download | CMake-d22df5bef40c1c922696d8fab78832efb66a5841.zip CMake-d22df5bef40c1c922696d8fab78832efb66a5841.tar.gz CMake-d22df5bef40c1c922696d8fab78832efb66a5841.tar.bz2 |
BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007).
-rw-r--r-- | Modules/FindwxWidgets.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index 0594d10..5ff9217 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -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[^;]+" |