[cmake-commits] miguelf committed FindwxWidgets.cmake 1.8 1.9

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Nov 12 13:52:47 EST 2007


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv31877

Modified Files:
	FindwxWidgets.cmake 
Log Message:
BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007).


Index: FindwxWidgets.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindwxWidgets.cmake,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- FindwxWidgets.cmake	4 Nov 2007 05:20:22 -0000	1.8
+++ FindwxWidgets.cmake	12 Nov 2007 18:52:45 -0000	1.9
@@ -591,6 +591,10 @@
         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[^;]+"



More information about the Cmake-commits mailing list