Boost logo

Boost :

Subject: Re: [boost] Cmake
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-24 21:19:52


P F wrote:
> No, you just do `include` instead of `add_subdirectory`, but it doesn’t
> require installation.

I'm not sure I understand. find_package(BCM) is unconditional in
CMakeLists.txt, right?

https://github.com/pfultz2/boost-cmake-demo/blob/bcm-demo/libs/system/CMakeLists.txt#L5

What 'include` do you do and where?

Unrelated, why do you need `include(GNUInstallDirs)` here:

https://github.com/pfultz2/boost-cmake-demo/blob/bcm-demo/bcm/share/bcm/cmake/BCMPackage.cmake#L2

?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk