aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2021-10-19 16:53:13 +1000
committerfuzzard <fuzzard@kodi.tv>2021-10-24 10:53:37 +1000
commitdd3986495576ba004f42663461e52699a01caa80 (patch)
tree1ae0ae4a33b7a16741dae1ebea730f30f6bc493d /CMakeLists.txt
parenta6572cdca0b15e10eb096fc20b06c1e203e194ac (diff)
[compileinfo] add python version
Instead of hardcoding python versions, use compileinfo to inject version numbers used to compile kodi
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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