Re: [hatari-devel] cmake and cross-compiling |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] cmake and cross-compiling
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Fri, 28 Dec 2012 12:32:30 +0100
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Fip4y/sAoaJjwdyXVOQpvXONz/qX74KmLu4X1qILb7s=; b=0iDydRuOgr+GmBcN74MInh+51JIpUmxTocgEms8NPwuNsXP5QGD/PdqydEnmkfAdVN +4/aFX7AukWZwz6tS0tSMTWU/OSDZn1BWo0IWHRQw3JSJMXbLNswBdxQAYD/pOU3RcKZ RvFEeHLmqLZYNrCD5j06kpl1b6pI3sDJ2hI0pCgmKeDojk50/ZSHn7Gdez39gBHdwF1L SV+3vHklg72W1xBV7t7LJQaw2h/aSlvjDOkizC84tx7Nzc7GymeMQkI8h/C+t/62NEIS aJArv+fSSB9FxmD5LYae7sy3FpVvYAEmMoxIvpLrx9+gRnWsYNjV90/CAv4jP8tuZ+Y5 226A==
On Thu, Dec 27, 2012 at 10:39 PM, Nicolas Pomarède
<npomarede@xxxxxxxxxxxx> wrote:
> it's not the compiler that cmake doesn't find, it's the mingw version of
> sdl, zlib, libpng and other libraries.
>
Yes, I know. The thing is that cmake for some wrong reasons looks for
those libraries (and headers) even if the compiler is sysroot-aware.
So thats a fault by cmake, not hataris configuration of cmake.
But as a workaround, what about setting CMAKE_FIND_ROOT_PATH to
"CMAKE_C_COMPILER -print-sysroot"?
--
chs,