I have a question about the cmake flag -DPYTHON_INCLUDE_CONFIG_DIR. What is a include configuration directory? It just defaults to /usr/include/python3.xx. This doesn’t make any sense to me because I don’t know of any time I’ve heard of include headers used for configuration.

If I were to give it its own directory path where would it go to or, where would it have gone to originally when the flag was made at some point in the past?

Also when I have tried to look for information about this flag, there is literally nothing anywhere about what it is.

Not my platform, but from a quick peek inside the cmake scripts, this should contain the directory that contains the pyconfig.h file.

thank you for your reply. I’ll look further into pyconfig.h and what it has written in it.