[CMake] Order of IMPORTED target include directories

Ephi Sinowitz (BLOOMBERG/ 919 3RD A) esinowitz at bloomberg.net
Tue Apr 10 13:50:13 EDT 2018


Hi, 
I would like to ensure that all include directories propagated from IMPORTED targets come after the include directories propagated from non-imported targets. On gcc the includes from IMPORTED targets are marked with -isystem which effectively moves these directories to the end of the include search path. Unfortunately not all compilers have an analagous compiler switch. Is there something else I can do to get the imported targets includes moved to the end?

Thanks
-ephi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180410/55b0d822/attachment.html>


More information about the CMake mailing list