Matthew Woehlke wrote:

> target_include_directories(foo PUBLIC
> $<BUILD_INTERFACE:${Foo_BINARY_DIR}>
> $<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>
> )
> 
> ...with Ninja, the include directive passed to the compiler is '-I.'

The '-I.' shouldn't be a problem. I've just tested on linux and it works for 
me.

Please provide the error message you are seeing.

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