On Tuesday 29 January 2013, Stephen Kelly wrote:
> Brad King wrote:
...
> > the option to be more general than ..._INCLUDE_DIRECTORIES:
> >  if(PACKAGE_FIND_VERSION VERSION_LESS 2.3
> >  
> >     AND NOT MyPkg_INTERFACES)
> >    
> >    set(${PACKAGE_FIND_NAME}_NO_INTERFACES 1)
> >  
> >  endif()
> >  include("${CMAKE_CURRENT_LIST_DIR}/upstreamTargets.cmake")
> 
> Yes, I'm fine with that too, though it will only affect 'new' interfaces,
> not LINK_INTERFACE_LIBRARIES.

Yes, this will work.

But it will also make creating proper Config.cmake files harder, there is then 
one more thing to know in order to create a good Config.cmake file.
I doubt that the average developer/package maintainer will do this right.

Alex
--

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