trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2014

R: [trinity-devel] New CMake warning CMP0026

From: Michele Calgaro <michele.calgaro@...>
Date: Thu, 25 Sep 2014 04:13:40 +0100
> There are many such reports on the same topic. I do not know if simply setting
> the old behavior is the right way.
> IF( POLICY CMP0026 )
>   CMAKE_POLICY( SET CMP0026 OLD )
> ENDIF( POLICY CMP0026 )
> See: http://www.cmake.org/cmake/help/v3.0/policy/CMP0026.html
> What do you think?

Hi Slavek, 
as a temporary solution, I would say let's set the use of OLD as you suggested and then file a bug report to adapt cmake scripts to the NEW way. This may require several changes (no idea how many or how few at the moment), so it would be better to leave it for after v14.0.0 is out.
Nevertheless for the future we should do the switch from OLD to NEW, because it could be possible that sooner or later the OLD way would no longer be supported, no one knows.

What do you think?

Cheers
  Michele

PS: the next 3 or 4 days I won't be around at all.