[CMake] OSX deployment target confusion for 2.8.10

2012-11-03 Thread Matthew Brett
Hi, Please forgive my ignorance of cmake, but I am running into trouble on OSX with 2.8.10 and cmake-2.8.10.20121101-gafe0-Darwin64-universal (but not 2.8.9). In fact I am trying to compile PySide-1.1.2 : http://pypi.python.org/pypi/PySide

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-05 Thread Matthew Brett
;a=commitdiff;h=e7e613efbf1da45a2a9e51d11a4022589d79c642 Thanks for tracking it down that far. However, I think it is 43b74793 that actually introduced the problem. The later commit only changed the appearance of the error message. On Nov 3, 2012, at 7:06 PM, Matthew Brett wrote: export

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-05 Thread Matthew Brett
Hi, On Mon, Nov 5, 2012 at 12:44 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Nov 5, 2012 at 7:57 AM, Brad King brad.k...@kitware.com wrote: On 11/04/2012 07:59 PM, Bradley Giesbrecht wrote: The problem is in commit e7e613e. Patching Darwin.cmake back to revision 43b74793

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-05 Thread Matthew Brett
Hi, On Mon, Nov 5, 2012 at 5:47 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 11/5/2012 8:31 PM, Matthew Brett wrote: Is there something else I can do to find out where the problem is? make VERBOSE=1 with both and see what the difference is with the link lines. Thanks for the hint

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-06 Thread Matthew Brett
Hi, On Tue, Nov 6, 2012 at 4:42 AM, Brad King brad.k...@kitware.com wrote: On 11/05/2012 08:31 PM, Matthew Brett wrote: Linking CXX executable shiboken ld: framework not found QtCore collect2: ld returned 1 exit status make[2]: *** [generator/shiboken] Error 1 make[1]: *** [generator

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-06 Thread Matthew Brett
Hi, On Tue, Nov 6, 2012 at 11:10 AM, Brad King brad.k...@kitware.com wrote: On 11/06/2012 01:37 PM, Matthew Brett wrote: I've attached the diff of the configs. The diff for generator/CMakeFiles/shiboken.dir/link.txt shows identical link lines except that 2.8.10 adds -isysroot /Developer

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-07 Thread Matthew Brett
Hi, On Wed, Nov 7, 2012 at 5:33 AM, Brad King brad.k...@kitware.com wrote: On 11/06/2012 03:29 PM, Matthew Brett wrote: $ ls /Library/Frameworks | grep Qt Qt3Support.framework QtCore.framework Okay. $ ls -al /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/ total 8 drwxr-xr-x 4 root

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-07 Thread Matthew Brett
Hi, On Wed, Nov 7, 2012 at 12:21 PM, Brad King brad.k...@kitware.com wrote: On 11/07/2012 03:14 PM, Matthew Brett wrote: http://bugs.python.org/issue14018 Great, that is exactly this issue. - I guess that explains it... Hum, how frustrating to have to worry about the bad symlink. Yes

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-07 Thread Matthew Brett
Hi, On Wed, Nov 7, 2012 at 1:00 PM, Brad King brad.k...@kitware.com wrote: On 11/07/2012 03:41 PM, Matthew Brett wrote: I was probably thinking of the problem in the same way as you are, which is: how can I make sure that the build works or fails gracefully for someone else if they have

Re: [CMake] OSX deployment target confusion for 2.8.10

2012-11-08 Thread Matthew Brett
Hi, On Thu, Nov 8, 2012 at 6:26 AM, Brad King brad.k...@kitware.com wrote: On 11/07/2012 04:13 PM, Matthew Brett wrote: We can warn about it though. Try adding something like this to the end of CMake's Modules/Platform/Darwin.cmake: if(IS_DIRECTORY ${CMAKE_OSX_SYSROOT}/Library/Frameworks