Skip to content

Commit b3b4d1d

Browse files
Barthelemy von HallerBarthelemy
authored andcommitted
update boost-python library name to match new one
1 parent 31c8615 commit b3b4d1d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/ReadoutCardDependencies.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if(APPLE)
33
set(boost_python_component "")
44
else()
55
set(rt_lib "rt")
6-
set(boost_python_component "python")
6+
set(boost_python_component "python27")
77
endif()
88

99
find_package(Boost 1.56
@@ -88,12 +88,16 @@ o2_define_bucket(
8888
${DIM_INCLUDE_DIRS}
8989
)
9090

91+
# Build the variable name for the path to boost python
92+
string(TOUPPER ${boost_python_component} upper)
93+
set(temp "Boost_${upper}_LIBRARY")
94+
9195
o2_define_bucket(
9296
NAME
9397
o2_readoutcard_python
9498

9599
DEPENDENCIES
96-
${Boost_PYTHON_LIBRARY}
100+
${${temp}}
97101
${PYTHON_LIBRARIES}
98102

99103
SYSTEMINCLUDE_DIRECTORIES

0 commit comments

Comments
 (0)