aboutsummaryrefslogtreecommitdiff
path: root/libraries/xz-embedded/CMakeLists.txt
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-15 20:15:46 +0200
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-15 20:16:15 +0200
commit87d35f0d16d3be56020f9e6295cc8bfa0c657d27 (patch)
treebda5c6850ba3f0274c08941a4d62cd88df942dfa /libraries/xz-embedded/CMakeLists.txt
parentc089f9b59f32780d3228d08c2d2eeb95e4ace9e1 (diff)
downloadPrismLauncher-87d35f0d16d3be56020f9e6295cc8bfa0c657d27.tar.gz
PrismLauncher-87d35f0d16d3be56020f9e6295cc8bfa0c657d27.tar.bz2
PrismLauncher-87d35f0d16d3be56020f9e6295cc8bfa0c657d27.zip
fix: remove some unused libs
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to 'libraries/xz-embedded/CMakeLists.txt')
-rw-r--r--libraries/xz-embedded/CMakeLists.txt26
1 files changed, 0 insertions, 26 deletions
diff --git a/libraries/xz-embedded/CMakeLists.txt b/libraries/xz-embedded/CMakeLists.txt
deleted file mode 100644
index 4ce46102..00000000
--- a/libraries/xz-embedded/CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-cmake_minimum_required(VERSION 3.9.4)
-project(xz-embedded LANGUAGES C)
-
-option(XZ_BUILD_BCJ "Build xz-embedded with BCJ support (native binary optimization)" OFF)
-option(XZ_BUILD_CRC64 "Build xz-embedded with CRC64 checksum support" ON)
-option(XZ_BUILD_MINIDEC "Build a tiny utility that decompresses xz streams" OFF)
-
-# See include/xz.h for manual feature configuration
-# tweak this list and xz.h to fit your needs
-
-set(XZ_SOURCES
- src/xz_crc32.c
- src/xz_crc64.c
- src/xz_dec_lzma2.c
- src/xz_dec_stream.c
-# src/xz_dec_bcj.c
-)
-add_library(xz-embedded STATIC ${XZ_SOURCES})
-target_include_directories(xz-embedded PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
-set_property(TARGET xz-embedded PROPERTY C_STANDARD 99)
-
-if(${XZ_BUILD_MINIDEC})
- add_executable(xzminidec xzminidec.c)
- target_link_libraries(xzminidec xz-embedded)
- set_property(TARGET xzminidec PROPERTY C_STANDARD 99)
-endif()