aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-10-25 09:37:08 +1000
committerGitHub <noreply@github.com>2023-10-25 09:37:08 +1000
commitbd91412c0e0e0e613a71a38694e2908f0a419f92 (patch)
tree00e87ba04485628ca628edae0c091c02d1ba51db /cmake/scripts
parent43bacc09dd255827ad115662efa2b4c9d015a49c (diff)
parent01fd7ef5956c83c42b1f7bcc1d33d8581fb16b17 (diff)
Merge pull request #23877 from fuzzard/cmake_findpythoninterp_host
[cmake] Create FindPythonInterpreter for host information
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/linux/Install.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake
index addb040894..fd73bea9ed 100644
--- a/cmake/scripts/linux/Install.cmake
+++ b/cmake/scripts/linux/Install.cmake
@@ -194,6 +194,7 @@ install(FILES ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/${APP_NAME}Config.cm
COMPONENT kodi-addon-dev)
if(ENABLE_EVENTCLIENTS)
+ find_package(PythonInterpreter REQUIRED)
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix=''))"
OUTPUT_VARIABLE PYTHON_LIB_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)
# Install kodi-eventclients-common BT python files