From dd3986495576ba004f42663461e52699a01caa80 Mon Sep 17 00:00:00 2001 From: fuzzard Date: Tue, 19 Oct 2021 16:53:13 +1000 Subject: [compileinfo] add python version Instead of hardcoding python versions, use compileinfo to inject version numbers used to compile kodi --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e46f87255..7ff6894993 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -238,6 +238,7 @@ add_custom_command(OUTPUT ${CORE_BUILD_DIR}/xbmc/CompileInfo.cpp -DAPP_COPYRIGHT_YEARS=${APP_COPYRIGHT_YEARS} -DAPP_BUILD_DATE=${APP_BUILD_DATE} -DAPP_SHARED_LIBRARY_SUFFIX="${APP_SHARED_LIBRARY_SUFFIX}" + -DPYTHON_VERSION=${PYTHON_VERSION} -Dprefix=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR} -P ${CMAKE_SOURCE_DIR}/cmake/scripts/common/GenerateVersionedFiles.cmake DEPENDS ${CMAKE_SOURCE_DIR}/version.txt -- cgit v1.2.3