diff --git a/CMakeLists.txt b/CMakeLists.txt index 10979dbb..137639c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) find_package(Kodi REQUIRED) find_package(pugixml REQUIRED) find_package(ZLIB REQUIRED) -find_package(lzma REQUIRED) +find_package(LibLZMA REQUIRED) include_directories(${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways ${PUGIXML_INCLUDE_DIRS} diff --git a/Findlzma.cmake b/Findlzma.cmake deleted file mode 100644 index b3e924e6..00000000 --- a/Findlzma.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# - Try to find lzma -# Once done this will define -# -# LZMA_FOUND - system has xz -# LZMA_INCLUDE_DIRS - the xz include directory -# LZMA_LIBRARIES - the xz library - -find_path(LZMA_INCLUDE_DIRS lzma.h) -find_library(LZMA_LIBRARIES lzma) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(lzma REQUIRED_VARS LZMA_INCLUDE_DIRS LZMA_LIBRARIES) - -mark_as_advanced(LZMA_INCLUDE_DIRS LZMA_LIBRARIES)