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

Benjamin Reed rangerrick at gmail.com
Fri Jan 5 20:49:06 CET 2007


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?


More information about the Kde-buildsystem mailing list