Alexander Neundorf wrote:

> Hi,
> 
> the docs for the new target_include_directories() say that it accepts only
> absolute paths.
> Why is that so ?
> include_directories() (and also link_directories(), see CMP0015) both
> accept relative paths and interpret them as relative to
> CMAKE_CURRENT_SOURCE_DIR. Is there a reason why
> target_include_directories() should behave differently ?
> 

That results from the semantics of the INCLUDE_DIRECTORIES property and 
http://public.kitware.com/Bug/view.php?id=13188

Thanks,

Steve.


--

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