Add atomic and chrono to the required components in the CMake file#477
Add atomic and chrono to the required components in the CMake file#477lo-simon merged 2 commits intosony:masterfrom
Conversation
|
In the original design, these should not always be required, they should be conditional based on meaning of nmos-cpp/Development/slog/all_in_one.h Line 2989 in 7916232 nmos-cpp/Development/slog/all_in_one.h Line 931 in 7916232 |
Thanks, @garethsb. The latest update has BST_THREAD_BOOST defined in CMake, so we need to include boost::chrono in CMake as well. |
|
@lo-simon FWIW, that comment you mentioned in the CMake file is slightly confusing, because it reads as if when that preprocessor symbol is defined, It's copied from the relevant (amalgamated) header, nmos-cpp/Development/slog/all_in_one.h Line 2986 in 3e8aa68 There it is explaining that you can control whether the aliases are E.g. nmos-cpp/Development/bst/regex.h Lines 4 to 20 in 3e8aa68 |
Thank you, @tianzhuqiao and @glance-, for reporting the missing chrono library while building nmos-cpp-node #467. The library has now been added to the list of required components in the nmos-cpp CMake file, which resolves the issue.