well of course. that’s the python package. it contains opencv, but you can’t use that outside of python. if you want to write C++, the python package is utterly irrelevant to you.
you need to download binaries from the opencv site or github, or install some package maintained by your operating system’s volunteers, or get opencv source and build it yourself.