From c65bfcf9b0191d70544a5fac86e09ec05eaca34d Mon Sep 17 00:00:00 2001 From: Peter Kohout Date: Tue, 9 Aug 2022 17:53:35 +0200 Subject: [PATCH] fix build with Boost > 1.70 --- third_party/third_party.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/third_party.cmake b/third_party/third_party.cmake index 610a72e..3353f06 100644 --- a/third_party/third_party.cmake +++ b/third_party/third_party.cmake @@ -13,6 +13,7 @@ else() set(SPDLOG_BUILD_SHARED ON) # FetchContent_MakeAvailable(spdlog) endif() +find_package( Boost COMPONENTS system program_options filesystem thread REQUIRED ) find_package(FreeOpcUa QUIET) if (FreeOpcUa_FOUND) message(STATUS "Found FreeOpcUa on system") @@ -24,4 +25,5 @@ else() # GIT_SHALLOW TRUE # ) # FetchContent_MakeAvailable(FreeOpcUa) + message(STATUS "Found FreeOpcUa NOT on system") endif()