CLion's CMake integration includes the Python plugin. This means that when you have a Python interpreter configured for your project, CMake picks it up along with all the Python-related environment variables.
note
Python integration does not support profiles created from presets, so no Python interpreter will be passed to such profiles.
The integration does not work for profiles that have Python variables defined in CMake Options.
Settings for Python integration with CMake
Python integration with CMake is controlled by two options:
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.