[hatari-devel] Cmake 3.0.0 warning

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


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.

  The LOCATION property should not be read from target "build68k".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.


I think Hatari will be affected too. I'm not an expert with Cmake. Can anyone help to fix this?

Regards,
Andreas


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