Thanks David, but my cache entry for MY_VCVARSALL_BAT looks fine
already
...
So any ".." has been resolved automatically by find_file, even
without explicitly specifying "ABSOLUTE"  :-)

...it does not seem to make a difference in this case. Right?

Right. Then you are good to go. I have not relied on "find_*" in relation to using these in my scripts, and typically just construct a cache var from using get_filename_component. If you actually do find the file, then you end up with either a full path, or a NOTFOUND, so, of course, you are all set in your situation. Sorry for the noise.

D

--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to