Am Samstag, 28. Mai 2011 schrieb Yuval Levy:
> I am trying to build from scratch on Kubuntu 10.10 with -
> DCMAKE_BUILD_TYPE=Debug
> 
> I get the following message right at the beginning of the CMake output:
> 
> DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-
> architecture line 214.
> 
> While we are at it, there I also see twice the warning:
> 
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
> 
> Despite all of the above, the code builds and the package is functional.
> 
> Yuv

I will look into it. Don't have 10.10 anymore.

Could you try to use this line instead (CMakeLists.txt:14 for hugin)?
        EXECUTE_PROCESS(COMMAND dpkg-architecture -qDEB_HOST_MULTIARCH 
OUTPUT_VARIABLE ARCH_TRIPLET ERROR_VARIABLE ERROR_ARCH_TRIPLET 
OUTPUT_STRIP_TRAILING_WHITESPACE)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to