From ab304afc4739e4bd28b3233a5045a9853d1b1580 Mon Sep 17 00:00:00 2001 From: lo-simon Date: Thu, 4 Dec 2025 11:00:47 +0000 Subject: [PATCH 1/2] Add atomic and chrono to the required components in the CMake file --- Development/cmake/NmosCppDependencies.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development/cmake/NmosCppDependencies.cmake b/Development/cmake/NmosCppDependencies.cmake index b57d6e04a..c363d5c88 100644 --- a/Development/cmake/NmosCppDependencies.cmake +++ b/Development/cmake/NmosCppDependencies.cmake @@ -6,7 +6,7 @@ set(BOOST_VERSION_CUR "1.83.0") # note: some components are only required for one platform or other # so find_package(Boost) is called after adding those components # adding the "headers" component seems to be unnecessary (and the target alias "boost" doesn't work at all) -list(APPEND FIND_BOOST_COMPONENTS system date_time regex) +list(APPEND FIND_BOOST_COMPONENTS system date_time regex atomic chrono) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") if(NOT (CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.3)) # add filesystem (for bst/filesystem.h, used by nmos/filesystem_route.cpp) From 335495f30a2cf7d3e60fd23a59f2d8f0dd542c31 Mon Sep 17 00:00:00 2001 From: lo-simon Date: Fri, 5 Dec 2025 00:18:57 +0000 Subject: [PATCH 2/2] boost atomic is not required, using std:atomic --- Development/cmake/NmosCppDependencies.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development/cmake/NmosCppDependencies.cmake b/Development/cmake/NmosCppDependencies.cmake index c363d5c88..5479a481a 100644 --- a/Development/cmake/NmosCppDependencies.cmake +++ b/Development/cmake/NmosCppDependencies.cmake @@ -6,7 +6,7 @@ set(BOOST_VERSION_CUR "1.83.0") # note: some components are only required for one platform or other # so find_package(Boost) is called after adding those components # adding the "headers" component seems to be unnecessary (and the target alias "boost" doesn't work at all) -list(APPEND FIND_BOOST_COMPONENTS system date_time regex atomic chrono) +list(APPEND FIND_BOOST_COMPONENTS system date_time regex chrono) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") if(NOT (CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.3)) # add filesystem (for bst/filesystem.h, used by nmos/filesystem_route.cpp)