From 8177fd0286fd740136864f6cde78d1db343e7934 Mon Sep 17 00:00:00 2001
From: amichelo <andrea.michelotti@lnf.infn.it>
Date: Sun, 22 Jan 2023 21:19:36 +0100
Subject: [PATCH] independent boost settings

---
 config/CMakeChaos.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/config/CMakeChaos.txt b/config/CMakeChaos.txt
index c652b4a8e..91d5d90b5 100644
--- a/config/CMakeChaos.txt
+++ b/config/CMakeChaos.txt
@@ -341,12 +341,16 @@ get_filename_component(CHAOS_C_COMPILER_REL ${CMAKE_C_COMPILER} NAME)
 ######
 
 #### TOOL VERSIONS
+if (CHAOS_BOOST_MINOR_VERSION)
+  SET(BOOST_MINOR_VERSION ${CHAOS_BOOST_MINOR_VERSION})
+ELSE()
+  SET(BOOST_MINOR_VERSION 0)
+ENDIF()
 if( CHAOS_BOOST_VERSION)
   SET(BOOST_VERSION ${CHAOS_BOOST_VERSION})
-  SET(BOOST_MINOR_VERSION ${CHAOS_BOOST_MINOR_VERSION})
+  
 ELSE()
   SET(BOOST_VERSION 66)
-  SET(BOOST_MINOR_VERSION 0)
 ENDIF()
 
 #####
-- 
GitLab