-
Hello, I need your help on fetch boost with boost python using CPMAddPackage I've done this: CPMAddPackage(
NAME Boost
VERSION 1.81.0
GITHUB_REPOSITORY "boostorg/boost"
GIT_TAG "boost-1.81.0"
) It works for default packages, but I don't know how to add BOOST PYTHON component. Because I use to do this before:
I tried this before CPMAddPackage but nothing change
Got still this:
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
nicolas-f
Feb 7, 2023
Replies: 1 comment
-
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"
) |
Beta Was this translation helpful? Give feedback.
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
I think its ok.
I had to add this lines in order to include and build boost python