FindPython: ensure a usable environment is set for the free threaded Python

Define the `Python_DEFINITIONS` variable for the support of free
threaded Python developments on Windows.

This is a complement to commit 9a0dee7257 (FindPython: Add support for
free threaded python, 2024-05-30).
This commit is contained in:
Marc Chevrier
2024-08-22 19:23:07 +02:00
committed by Brad King
parent 0e217de343
commit 10abd2ac5a
4 changed files with 45 additions and 0 deletions

View File

@@ -224,6 +224,11 @@ This module will set the following variables in your project
The Python include directories.
``Python_DEFINITIONS``
.. versionadded:: 3.30.3
The Python preprocessor definitions.
``Python_DEBUG_POSTFIX``
.. versionadded.. 3.30