Skip to content

Commit

Permalink
Backport #224
Browse files Browse the repository at this point in the history
  • Loading branch information
william-dawson committed Feb 29, 2024
1 parent 95f6566 commit 188daa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Swig/ConfigPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
macro(get_py_include)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c
"from distutils.sysconfig import get_python_inc; print(get_python_inc())"
"import sysconfig; print(sysconfig.get_path('include'))"
OUTPUT_VARIABLE PYTHON_INCLUDE_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)
endmacro()

0 comments on commit 188daa7

Please sign in to comment.