From kde-buildsystem Tue Mar 06 18:16:51 2007 From: Bill Hoffman Date: Tue, 06 Mar 2007 18:16:51 +0000 To: kde-buildsystem Subject: Re: Proposed changes to FindQt4.cmake Message-Id: <45EDB013.10101 () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=117320503420217 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