[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Proposed changes to FindQt4.cmake
From:       Bill Hoffman <bill.hoffman () kitware ! com>
Date:       2007-03-06 18:16:51
Message-ID: 45EDB013.10101 () gmail ! com
[Download RAW message or body]

Caleb Tennis wrote:
>> FIND_LIBRARY should work with frameworks just fine.   The FindQt4.cmake
>> in CMake does not have as much special framework stuff as the one in
>> KDE.  But FIND_LIBRARY() does find frameworks on the mac.   However,
>> when FindQt4.cmake was written, it did not.
>>     
>
> I read that on the online Documentation.html for cmake and tried it out yesterday to
> see if that was the case.  It did find the frameworks, but it found them as
> "/Library/Frameworks/QtXXX.framework/QtXXX" and didn't have the "-framework" part at
> the beginning of the string like the FindQt4.cmake in KDE's cvs did, so I went this
> route.
>
> I'll play with it some more and see if I can make it work, though.
>   
If you give cmake a ..../foo.framework as a link library, cmake will 
convert it to the -framework for you when it creates the link line.

-Bill

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic