Shared boost libraries cmake errors
I'm using shared boost libraries on my system and there is no static version.
First compile e.g. with cmake .. && make -j
works perfectly but after changing cmake options cmake fails: running
cmake .. -DCMAKE_BUILD_TYPE=Release
gives
-- Set GCC release flags
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- program_options
-- system
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_DATE_TIME_LIBRARY (ADVANCED)
linked by target "BaseLib" in directory /home/naumov/ogs/BaseLib
linked by target "testrunner" in directory /home/naumov/ogs/Tests
linked by target "CollapseMeshNodes" in directory /home/naumov/ogs/SimpleTests/MeshTests
linked by target "MeshRead" in directory /home/naumov/ogs/SimpleTests/MeshTests
linked by target "MeshSearchTest" in directory /home/naumov/ogs/SimpleTests/MeshTests
[ .... etc for other boost libs ]
-- Configuring incomplete, errors occurred!
Do I miss something?
This is related to #123.