On 07/15/2013 02:00 PM, Stephen Kelly wrote: > Brad King wrote: > >> On 7/15/2013 11:25 AM, Stephen Kelly wrote: >>> The solution I think is to add the specified include directories to the >>> cmTargetExport instance which gets created when using the EXPORT, and to >>> append the directories only when generating. >> >> Yes, certainly the INCLUDES DESTINATION needs to be associated with >> the EXPORT whose targets will get the usage requirement. >> > > Ok, I've implemented that. I couldn't squash in the fix commit because that > causes a conflict with tid-system-argument, but I guess it can be squashed > before merge.
Please add an error condition when INCLUDES DESTINATION is used without EXPORT and a test case to cover it. Thanks, -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
