File orca-slicer-dont-install-deps-files.patch of Package orca-slicer
From db976c5fd3f239b95dd3be5f21e6d9a684ae8f36 Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Mon, 13 Oct 2025 17:41:24 +0100 Subject: [PATCH] Don't install files of spline and stb_dxt libraries. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- deps_src/spline/CMakeLists.txt | 19 ------------------- deps_src/stb_dxt/CMakeLists.txt | 19 ------------------- 2 files changed, 38 deletions(-) diff --git a/deps_src/spline/CMakeLists.txt b/deps_src/spline/CMakeLists.txt index ee6d5c9cb..800c4f4e1 100644 --- a/deps_src/spline/CMakeLists.txt +++ b/deps_src/spline/CMakeLists.txt @@ -16,22 +16,3 @@ target_compile_features(spline INTERFACE cxx_std_11) # Create an alias for consistent naming add_library(spline::spline ALIAS spline) - -# Install headers if needed -install(FILES - spline.h - DESTINATION include/spline -) - -# Install the interface library -install(TARGETS spline - EXPORT splineTargets - INCLUDES DESTINATION include -) - -# Export the targets -install(EXPORT splineTargets - FILE splineTargets.cmake - NAMESPACE spline:: - DESTINATION lib/cmake/spline -) diff --git a/deps_src/stb_dxt/CMakeLists.txt b/deps_src/stb_dxt/CMakeLists.txt index 749030be3..5dc8075af 100644 --- a/deps_src/stb_dxt/CMakeLists.txt +++ b/deps_src/stb_dxt/CMakeLists.txt @@ -16,22 +16,3 @@ target_compile_features(stb_dxt INTERFACE cxx_std_11) # Create an alias for consistent naming add_library(stb_dxt::stb_dxt ALIAS stb_dxt) - -# Install headers if needed -install(FILES - stb_dxt.h - DESTINATION include/stb_dxt -) - -# Install the interface library -install(TARGETS stb_dxt - EXPORT stb_dxtTargets - INCLUDES DESTINATION include -) - -# Export the targets -install(EXPORT stb_dxtTargets - FILE stb_dxtTargets.cmake - NAMESPACE stb_dxt:: - DESTINATION lib/cmake/stb_dxt -) -- 2.51.0