@@ -10,3 +10,59 @@ index d34d930d..b69f81c7 100644
1010
1111 #include "Framework/ConditionsObject.h"
1212 #include "Framework/Exception/Exception.h"
13+ diff --git a/DetDescr/CMakeLists.txt b/DetDescr/CMakeLists.txt
14+ --- a/DetDescr/CMakeLists.txt
15+ +++ b/DetDescr/CMakeLists.txt
16+ @@ -17,32 +17,27 @@
17+ option(BUILD_DETECTORID_BINDINGS "Build the python bindings for the the DetDescr/DetectorID components" ON)
18+ if(BUILD_DETECTORID_BINDINGS)
19+ + cmake_policy(SET CMP0167 NEW)
20+ find_package(Python COMPONENTS Development)
21+
22+ - message("Looking for libboost_python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}")
23+ - find_package(Boost QUIET COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
24+ + message("Looking for libboost_python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}")
25+ + find_package(Boost QUIET COMPONENTS python${Python_VERSION_MAJOR}${Python_VERSION_MINOR})
26+ # libboost_python3 style libraries
27+ if (NOT Boost_FOUND)
28+ - message("Looking for libboost_python${PYTHON_VERSION_MAJOR}")
29+ - find_package(Boost QUIET COMPONENTS python${PYTHON_VERSION_MAJOR})
30+ + message("Looking for libboost_python${Python_VERSION_MAJOR}")
31+ + find_package(Boost QUIET COMPONENTS python${Python_VERSION_MAJOR})
32+ endif()
33+
34+ - # libboost_python style libraries
35+ - if (NOT Boost_FOUND)
36+ - message("Looking for libboost_python")
37+ - find_package(Boost QUIET COMPONENTS system thread python)
38+ - endif()
39+ -
40+ # libboost_python-py36 style libraries
41+ if (NOT Boost_FOUND)
42+ - message("Looking for libboost_python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}")
43+ - find_package(Boost QUIET COMPONENTS python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
44+ + message("Looking for libboost_python-py${Python_VERSION_MAJOR}${Python_VERSION_MINOR}")
45+ + find_package(Boost QUIET COMPONENTS python-py${Python_VERSION_MAJOR}${Python_VERSION_MINOR})
46+ endif()
47+
48+ # libboost_python3-py36 style libraries
49+ if (NOT Boost_FOUND)
50+ - message("Looking for libboost_python3-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}")
51+ - find_package(Boost QUIET COMPONENTS python3-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
52+ + message("Looking for libboost_python3-py${Python_VERSION_MAJOR}${Python_VERSION_MINOR}")
53+ + find_package(Boost QUIET COMPONENTS python3-py${Python_VERSION_MAJOR}${Python_VERSION_MINOR})
54+ endif()
55+
56+ # Nothing worked
57+ if (NOT Boost_FOUND)
58+ diff --git a/Hcal/src/Hcal/HcalClusterProducer.cxx b/Hcal/src/Hcal/HcalClusterProducer.cxx
59+ --- a/Hcal/src/Hcal/HcalClusterProducer.cxx
60+ +++ b/Hcal/src/Hcal/HcalClusterProducer.cxx
61+ @@ -2,6 +2,7 @@
62+
63+ #include <exception>
64+ #include <iostream>
65+ + #include <list>
66+
67+ #include "Hcal/MyClusterWeight.h"
68+ #include "Hcal/TemplatedClusterFinder.h"
0 commit comments