Re: [hatari-devel] Cmake 3.0.0 warning |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Thank you! The warning is gone and everything works fine.
Am 13.07.2014 um 15:53 schrieb Thomas Huth <th.huth@xxxxxx>:
> Am Sun, 13 Jul 2014 11:41:21 +0200
> schrieb Andreas Grabher <andreas.grabher@xxxxxxxxxxxx>:
>
>> Hello Hatari community!
>>
>> i'm still working on the Hatari-based Previous emulator. I'm using
>> the same Cmake build system. After switching to Cmake 3.0.0 i'm
>> getting this warning:
>>
>> CMake Warning (dev) at src/cpu/CMakeLists.txt:36
>> (get_target_property): Policy CMP0026 is not set: Disallow use of the
>> LOCATION target property. Run "cmake --help-policy CMP0026" for
>> policy details. Use the cmake_policy command to set the policy and
>> suppress this warning.
> [...]
>> I think Hatari will be affected too. I'm not an expert with Cmake.
>> Can anyone help to fix this?
>
> Thanks for the hint, Andreas, I've fixed it in Hatari now like this:
>
> http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/7b110dcc02bf
>
> I think Previous could be fixed in the same way.
>
> Thomas
>
>