I installed boost like proposed in this Installing Boost under Ubuntu question. However, when I try to execute a cmake file which tries to include boost like:
find_package(Boost CONFIG REQUIRED COMPONENTS system)
It tells me that it can't find neither of the following two files:
BoostConfig.cmake boost-config.cmake
There is the hint that one should add the installation prefix of "Boost" to CMAKE_PREFIX_PATH
or set "Boost_DIR
" to a directory containg on of the above files.
However, how can I do this? And how do I know where to find these files or the directory after installing it via apt-get
?
I am using cmake version 3.5.1, for boost I found out the version via
dpkg -s libboost-all-dev
which is 1.58.0.1ubuntu1