Skip to content

Commit

Permalink
cmake: Explicitly search for boost_python
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Nov 8, 2024
1 parent 60a1e6f commit 20c889b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ set(BOOST_REQUIRED_COMPONENTS filesystem serialization system)
set_boost_default_options()
export_boost_default_options()
add_project_dependency(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
# Search explicitly for boost_python when building python_parser
if(BUILD_WITH_PYTHON_PARSER_SUPPORT)
search_for_boost_python(REQUIRED)
endif()

if(Boost_VERSION_STRING VERSION_LESS 1.81)
if(BUILD_WITH_URDF_SUPPORT AND "${urdfdom_VERSION}" VERSION_GREATER "0.4.2")
Expand Down

0 comments on commit 20c889b

Please # to comment.