On Thursday 06 December 2012, Alexander Neundorf wrote:
...
> I'd much prefer the following:
> 
> find_package(Foo NO_MODULE)
> 
> add_executable(hello main.cpp)
> 
> target_use_targets(hello Foo::FooLibrary)

which could even warn if a used library doesn't have include directory 
properties set, etc.

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