[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] SDL1
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Fri, 9 Sep 2016 07:52:58 +0200
- 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; bh=GxHJ/N6Kiw1EHyTKpLPUmzMv5hgdma5XGVojNQZ4aZs=; b=g/cVR9MgbZIoH4wyT2CIUTSFKMpKMSHWcECpKxTbxasfCx8tQIiIe1kiyH/r4wwg1D eVJrUmSiGZHoJMjfkrE3w/G5uTDog+eeIQ1Ufz4FLcf4qW0nkwHbnLP8AHS5KlwkW9yk 8QeCOVAw0z3iC9T/sNMp7vSvDu/4rYqaFtHtNUJ/Hn+Gv5RtlgAWZ/amtDpfCQhd8zn/ UIrhuZGP1phQ1OIHj26USaw8PKcfEPU8S0DDm2BUKZ9qYGfkie5fyiX93lZYhbDwB+vB K4N1bAVeIvrObIR5QXIMJL6y5WvqrO3o5qaTA4Ii7VxCGa3jnzBB2KU5Dpz82NOzj+XR +0tQ==
On Thu, Sep 8, 2016 at 10:51 PM, Thomas Huth <th.huth@xxxxxx> wrote:
> On 08.09.2016 22:46, Christer Solskogen wrote:
>> I tried deleting the whole source directory and download it again. Still
>> same thing. I think I found the bug in cmake. Not sure if I can fix it,
>> but I'll check!
>
> Does it work with a patch like this:
>
> diff -r 9370f2846eff src/cpu/CMakeLists.txt
> --- a/src/cpu/CMakeLists.txt Thu Sep 08 00:28:54 2016 +0200
> +++ b/src/cpu/CMakeLists.txt Thu Sep 08 22:50:52 2016 +0200
> @@ -13,7 +13,8 @@
>
> add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/build68k
> COMMAND cc -I${CMAKE_CURRENT_SOURCE_DIR}
> - ${CMAKE_CURRENT_SOURCE_DIR}/build68k.c writelog.c
> + ${CMAKE_CURRENT_SOURCE_DIR}/build68k.c
> + ${CMAKE_CURRENT_SOURCE_DIR}/writelog.c
> -o ${CMAKE_CURRENT_BINARY_DIR}/build68k
> DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/build68k.c)
>
>
> ?
>
Yes, that works!