Re: [CMake] Boost's CMAKE approach and the BUILD_INTERFACE generator expression

2017-10-27 Thread paul via CMake
On Fri, 2017-10-27 at 12:22 -0700, Wesley Smith wrote: > Boost's CMAKE page (http://bcm.readthedocs.io/en/latest/src/Building.html)  > says: > > So this will build the library named boost_filesystem, however, we need to > supply the dependencies to boost_filesystem and add the include directories.

[CMake] Boost's CMAKE approach and the BUILD_INTERFACE generator expression

2017-10-27 Thread Wesley Smith
Boost's CMAKE page (http://bcm.readthedocs.io/en/latest/src/Building.html) says: So this will build the library named boost_filesystem, however, we need to supply the dependencies to boost_filesystem and add the include directories. To add the include directory we use target_include_directories. F