/usr/lib/x86_64-linux-gnu/kodi/KodiConfig.cmake is in kodi-addons-dev 2:17.1+dfsg1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | set(APP_NAME Kodi)
set(APP_NAME_LC kodi)
set(APP_NAME_UC KODI)
set(APP_VERSION_MAJOR 17)
set(APP_VERSION_MINOR 1)
if(NOT KODI_PREFIX)
set(KODI_PREFIX /usr)
endif()
if(NOT KODI_INCLUDE_DIR)
set(KODI_INCLUDE_DIR /usr/include/kodi)
endif()
if(NOT KODI_LIB_DIR)
set(KODI_LIB_DIR /usr/lib/x86_64-linux-gnu/kodi)
endif()
if(NOT KODI_DATA_DIR)
set(KODI_DATA_DIR /usr/share/kodi)
endif()
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} ")
endif()
list(APPEND CMAKE_MODULE_PATH /usr/lib/x86_64-linux-gnu/kodi /usr/share/kodi/cmake)
string(REPLACE ";" " " ARCH_DEFINES "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
add_definitions(${ARCH_DEFINES} -DBUILD_KODI_ADDON)
if(NOT CORE_SYSTEM_NAME)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(CORE_SYSTEM_NAME "osx")
else()
string(TOLOWER ${CMAKE_SYSTEM_NAME} CORE_SYSTEM_NAME)
endif()
endif()
include(AddonHelpers)
|