Skip to content

Commit e88c6e7

Browse files
authored
Merge pull request #639 from astrorama/feature/remove_boost_python
Remove FindBoostPython.cmake, it should not be needed anymore
2 parents 7c1834f + c7559ec commit e88c6e7

2 files changed

Lines changed: 3 additions & 42 deletions

File tree

SEImplementation/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ elements_depends_on_subdirs(Pyston)
3333

3434
find_package(PythonInterp ${PYTHON_EXPLICIT_VERSION} REQUIRED)
3535
find_package(PythonLibs ${PYTHON_EXPLICIT_VERSION} REQUIRED)
36-
find_package(BoostPython ${PYTHON_EXPLICIT_VERSION})
37-
find_package(Boost 1.53 REQUIRED)
36+
find_package(Boost 1.53 REQUIRED COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR})
3837
find_package(OnnxRuntime)
3938
find_package(Log4CPP REQUIRED)
4039

@@ -101,10 +100,10 @@ elements_add_library(SEImplementation
101100
LINK_LIBRARIES
102101
ElementsKernel Configuration Table
103102
SEUtils SEFramework ModelFitting
104-
BoostPython PythonLibs PythonInterp
103+
PythonLibs PythonInterp
105104
Pyston
106105
${OPT_LIBRARIES}
107-
INCLUDE_DIRS ${BoostPython_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS} ${OPT_INCLUDES}
106+
INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS} ${OPT_INCLUDES}
108107
PUBLIC_HEADERS SEImplementation)
109108

110109
#===============================================================================

cmake/modules/FindBoostPython.cmake

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)