FindQCA2.cmake doesn't work right (kdenetwork fails)

Alexander Neundorf neundorf at kde.org
Fri Jan 5 20:58:46 CET 2007


On Friday 05 January 2007 20:49, Benjamin Reed wrote:
> my kdenetwork build on mac is failing right now because of qca2.
>
> The problem is, pkg-config says that qca2's include is at
> /opt/kde4-deps/include/QtCrypto (which is correct), but FindQCA2 is
> somehow stripping it out:
>
> -- pkg-config returned /opt/kde4-deps/include/QtCrypto for QCA 2 includes
> -- QCA2_INCLUDE_DIR has value /opt/kde4-deps/include
> -- Found QCA2: /opt/kde4-deps/lib/libqca.dylib
>
> QCA2_INCLUDE_DIR needs to be /opt/kde4-deps/include/QtCrypto to build
> properly.
>
> Any ideas what's going on?
>
> This bit in the FindQCA2.cmake is suspect:
>
>   FIND_PATH(QCA2_INCLUDE_DIR QtCrypto
>     PATHS
>     ${_Qca2IncDir}
>     )
>
> Could that somehow be stripping out the QtCrypto?

Is QtCrypto both the name of the directory and the header ?

Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list