On 03/26/2013 03:24 PM, Alexander Neundorf wrote: > Probably I'm missing something obvious... can't the include-directories be > checked by generating code into the exports-file ?
No. We went over that for a similar case in another thread recently: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6106/focus=6138 The imported targets should not produce errors if they are not used. -Brad -- 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