Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bindings/pyroot/pythonizations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ endforeach()

# The Python version at build time should be easy to figure out from Python, so
# we can raise an exception if the used Python version is not compatible.
# The file will be implicitly installed by install(DIRECTORY ...) in the
# ROOT_PYTHON_PACKAGE function.
set(python_version_file "${localruntimedir}/ROOT/_python_version.py")
file(WRITE "${python_version_file}" "_root_python_version = \"${Python3_VERSION}\"\n")
install(FILES "${python_version_file}" DESTINATION "${CMAKE_INSTALL_PYTHONDIR}")

# A custom target that depends on the Python sources being present in the build
# directory. This will be used as a dependency of the pythonization libraries,
Expand Down
Loading