Re: [hatari-devel] SDL1

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


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!



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/