On Monday 29 July 2013, Stephen Kelly wrote: > Alexander Neundorf wrote: > > So it can be used in tll() calls to link against the library (package). > > What makes it differ from Foo_LIBRARIES, is that CMake checks that each > > of the items listed in this variable > > * is an existing target > > > > * has the INTERFACE_INCLUDE_DIRS property set. > > Are you really certain it is always an error for a target to not set this?
I think so. If I want to use symbols from a library, I should include its headers, and for that the include dirs need to be known. For header-only libraries even more. Are there cases where this is not the case ? Don't know about Fortran. 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