diff options
-rw-r--r-- | project/cmake/KodiConfig.cmake.in | 2 | ||||
-rw-r--r-- | project/cmake/scripts/linux/Install.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project/cmake/KodiConfig.cmake.in b/project/cmake/KodiConfig.cmake.in index f25541bc7f..c02a68085a 100644 --- a/project/cmake/KodiConfig.cmake.in +++ b/project/cmake/KodiConfig.cmake.in @@ -18,7 +18,7 @@ endif() if(NOT WIN32) set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@") endif() -list(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@) +list(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@ @APP_DATA_DIR@/cmake) string(REPLACE ";" " " ARCH_DEFINES "@ARCH_DEFINES@") add_definitions(${ARCH_DEFINES} -DBUILD_KODI_ADDON) diff --git a/project/cmake/scripts/linux/Install.cmake b/project/cmake/scripts/linux/Install.cmake index 339d598a3c..9efda0a526 100644 --- a/project/cmake/scripts/linux/Install.cmake +++ b/project/cmake/scripts/linux/Install.cmake @@ -170,7 +170,7 @@ install(FILES ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/${APP_NAME}Config.cm ${CORE_SOURCE_DIR}/project/cmake/scripts/common/PrepareEnv.cmake ${CORE_SOURCE_DIR}/project/cmake/scripts/common/ProjectMacros.cmake ${CORE_SOURCE_DIR}/project/cmake/scripts/linux/PathSetup.cmake - DESTINATION ${libdir}/${APP_NAME_LC} + DESTINATION ${datarootdir}/${APP_NAME_LC}/cmake COMPONENT kodi-addon-dev) # Install kodi-audio-dev |