Description: Fixes FTBFS with boost 1.90
 A build log showing the issue prior to this patch:
   https://launchpad.net/ubuntu/+source/alicevision/3.3.1+repack-2build1/+build/32246114/+files/buildlog_ubuntu-resolute-amd64.alicevision_3.3.1+repack-2build1_BUILDING.txt.gz
 This fixes two separate issues:
 - boost::system has been removed a long time ago, and trying to use it is now
   an error
 - something about the boost cmake connection has changed, and you now need to
   tell cmake to "CONFIG" for some unknowable reason
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128163
Index: alicevision/src/CMakeLists.txt
===================================================================
--- alicevision.orig/src/CMakeLists.txt
+++ alicevision/src/CMakeLists.txt
@@ -282,11 +282,11 @@ endif()
 # Boost
 # ==============================================================================
 option(BOOST_NO_CXX11 "if Boost is compiled without C++11 support (as it is often the case in OS packages) this must be enabled to avoid symbol conflicts (SCOPED_ENUM)." OFF)
-set(ALICEVISION_BOOST_COMPONENTS atomic container date_time graph json log log_setup program_options regex serialization system thread timer)
+set(ALICEVISION_BOOST_COMPONENTS atomic container date_time graph json log log_setup program_options regex serialization thread timer)
 if (ALICEVISION_BUILD_TESTS)
     set(ALICEVISION_BOOST_COMPONENT_UNITTEST unit_test_framework)
 endif()
-find_package(Boost 1.76.0 QUIET COMPONENTS ${ALICEVISION_BOOST_COMPONENTS} ${ALICEVISION_BOOST_COMPONENT_UNITTEST})
+find_package(Boost 1.76.0 CONFIG QUIET COMPONENTS ${ALICEVISION_BOOST_COMPONENTS} ${ALICEVISION_BOOST_COMPONENT_UNITTEST})
 
 if (Boost_FOUND)
     message(STATUS "Boost ${Boost_LIB_VERSION} found.")
Index: alicevision/src/aliceVision/sensorDB/CMakeLists.txt
===================================================================
--- alicevision.orig/src/aliceVision/sensorDB/CMakeLists.txt
+++ alicevision/src/aliceVision/sensorDB/CMakeLists.txt
@@ -15,7 +15,6 @@ set(sensorDB_files_sources
 alicevision_add_library(aliceVision_sensorDB
     SOURCES ${sensorDB_files_headers} ${sensorDB_files_sources}
     PRIVATE_LINKS
-        Boost::system
         Boost::boost
 )
 
Index: alicevision/src/aliceVision/system/CMakeLists.txt
===================================================================
--- alicevision.orig/src/aliceVision/system/CMakeLists.txt
+++ alicevision/src/aliceVision/system/CMakeLists.txt
@@ -30,7 +30,6 @@ alicevision_add_library(aliceVision_syst
         Boost::log
         Boost::log_setup
         Boost::thread
-        Boost::system
         Boost::date_time
         ${ALICEVISION_NVTX_LIBRARY}
     PRIVATE_LINKS
Index: alicevision/src/software/convert/CMakeLists.txt
===================================================================
--- alicevision.orig/src/software/convert/CMakeLists.txt
+++ alicevision/src/software/convert/CMakeLists.txt
@@ -15,7 +15,6 @@ if (ALICEVISION_BUILD_SFM)
               aliceVision_sfmData
               aliceVision_sfmDataIO
               Boost::program_options
-              Boost::system
     )
 
     if (TARGET E57Format AND ALICEVISION_BUILD_MVS)
@@ -47,7 +46,6 @@ if (ALICEVISION_BUILD_SFM)
               aliceVision_sfmDataIO
               aliceVision_calibration
               Boost::program_options
-              Boost::system
     )
 
 endif() # ALICEVISION_BUILD_SFM
