MantisBT - CMake
View Issue Details
0005007CMakeModulespublic2007-05-10 03:252007-12-08 10:09
Steven Van Ingelgem 
Miguel Figueroa 
normalmajoralways
closedfixed 
 
 
0005007: FindwxWidgets.cmake on universal binary @ mac
Hi,


If you have compiled wxWidgets with --enable-universal-binary on a Mac (v2.8.3), the following will return when you do wx-config --libs core:
-L/opt/local/lib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_mac_core-2.8 -lwx_base_carbon-2.8


What the problem here is that he:
1) gives a warning on the /Developer directory
2) includes the ppc & i386 as libraries (-lppc & -li386)


Greetz,
Steven
No tags attached.
patch FindwxWidgets.cmake.patch (845) 2007-10-13 04:51
https://public.kitware.com/Bug/file/1184/FindwxWidgets.cmake.patch
? FindwxWidgets.cmake (24,111) 2007-10-13 05:27
https://public.kitware.com/Bug/file/1185/FindwxWidgets.cmake
Issue History
2007-08-23 14:07Alex NeundorfCategoryCMake => Modules
2007-10-12 11:38Bill HoffmanAssigned ToBill Hoffman => Miguel Figueroa
2007-10-12 21:54Miguel FigueroaNote Added: 0009460
2007-10-13 04:35Steven Van IngelgemNote Added: 0009461
2007-10-13 04:51Miguel FigueroaFile Added: FindwxWidgets.cmake.patch
2007-10-13 04:53Miguel FigueroaNote Added: 0009462
2007-10-13 04:56Miguel FigueroaNote Added: 0009463
2007-10-13 04:57Miguel FigueroaNote Edited: 0009463
2007-10-13 05:15Steven Van IngelgemNote Added: 0009464
2007-10-13 05:27Miguel FigueroaFile Added: FindwxWidgets.cmake
2007-10-13 05:31Miguel FigueroaNote Added: 0009465
2007-11-12 17:02Miguel FigueroaStatusassigned => resolved
2007-11-12 17:02Miguel FigueroaResolutionopen => fixed
2007-11-12 17:02Miguel FigueroaNote Added: 0009670
2007-12-08 10:09Miguel FigueroaStatusresolved => closed

Notes
(0009460)
Miguel Figueroa   
2007-10-12 21:54   
Reminder sent to: Steven Van Ingelgem

Could you test a patch for this bug?
(0009461)
Steven Van Ingelgem   
2007-10-13 04:35   
Ofcourse! Where can I find the patch file?
(0009462)
Miguel Figueroa   
2007-10-13 04:53   
Steven, you can try applying the uploaded patch to the current CVS FindwxWidgets.cmake. If it works I'll apply it to the repository.
(0009463)
Miguel Figueroa   
2007-10-13 04:56   
(edited on: 2007-10-13 04:57)
Reminder sent to: Steven Van Ingelgem

Hello Steven,

I'm new to this mantis thing... I just uploaded a patch and posted a note. Did you automatically get that note? Or does it go out only to people monitoring the issue?

Thanks,
--Miguel

(0009464)
Steven Van Ingelgem   
2007-10-13 05:15   
I got the note, but not a patch... Is it in CVS as I don't see any sign of it...
Also, could you add support for the SVN trunk version of wxWidgets? (just add a '29' field everywhere where you find a '28' one).


Maybe you can just send me the updated file and I'll check it here immediately
(0009465)
Miguel Figueroa   
2007-10-13 05:31   
Steven,

I can't send you the file, because I don't have your e-mail... I'm sending this through the mantis interface. You can contact me directly at miguelf at ieee dot org.

However, there are two files I uploaded in the "attached files" section of the bug report in mantis:

http://www.cmake.org/Bug/view.php?id=5007 [^]

The FindwxWidgets.cmake is the easiest to try out, since you only need to replace it for the current one on your installation.

I'll make the 2.9 change.

--Miguel
(0009670)
Miguel Figueroa   
2007-11-12 17:02   
This has been applied to CVS/HEAD (FindwxWidgets rev 1.9).