On 09/12/2013 09:13 AM, Daniele E. Domenichelli wrote:
> I cannot find a better name, so I used SOURCE_DIR_PRESERVE...
> Perhaps SOURCE_DIR_SAFE or something similar?

How about SOURCE_DIR_PERSISTENT?

> +  # FIXME is there a better way to avoid this CMP0012 warning? (see line 295)

In any project with a sufficiently high cmake_minimum_required(VERSION)
the policy should be set to NEW already.

> +  if(${source_dir_preserve})

Just use the variable name here without dereferencing.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to