On 06/17/2014 02:21 PM, "Matthäus G. Chajdas" wrote:
> Notice that I have to repeat ENV now for every environment variable, and
> I had to add "include" to PATH_SUFFIXES. Without repeating ENV, only the
> first environment variable is expanded. However, I cannot find anything
> in the CMake 3.0.0 release notes regarding find_path which would explain
> why these changes are necessary, and this code used to work with CMake
> 2.8.12. Is this a regression, or was I simply lucky that it worked?

I'm not aware that this behavior was changed.  FYI, the "ENV var"
syntax has always required the "ENV" to be repeated for each var.
One can see the implementation here:

 
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmFindBase.cxx;hb=v3.0.0#l40

The code has not changed since 2006.

-Brad

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to