Skip to content

CPMAddPackage with Boost Python ? #439

Answered by nicolas-f
nicolas-f asked this question in Q&A
Discussion options

You must be logged in to vote

I think its ok.

I had to add this lines in order to include and build boost python

set(BOOST_INCLUDE_LIBRARIES system python filesystem regex)
set(BOOST_ENABLE_PYTHON ON)

CPMAddPackage(
  NAME Boost
  VERSION 1.81.0
  GITHUB_REPOSITORY "boostorg/boost"
  GIT_TAG "boost-1.81.0"
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nicolas-f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant