mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-30 02:11:59 +00:00
Remove the install rules from deps_src/stb_dxt/CMakeLists.txt. The Windows packages and the Flatpak are built from the install output, so they shipped include/stb_dxt/stb_dxt.h and lib/cmake/stb_dxt/stb_dxtTargets.cmake. The Flatpak shipped only the .cmake file, because its cleanup step removes /include. Nothing uses either file. The header is only needed at compile time, and the build still finds it in deps_src. Also drop the "Install Support" line from deps_src/README_CMAKE_INTERFACES.md, since no library in deps_src has install rules now.
18 lines
457 B
CMake
18 lines
457 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
project(stb_dxt)
|
|
|
|
# Create interface library for stb_dxt (header-only library)
|
|
add_library(stb_dxt INTERFACE)
|
|
|
|
# Set include directories for the interface library
|
|
target_include_directories(stb_dxt SYSTEM
|
|
INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
# Add compile features
|
|
target_compile_features(stb_dxt INTERFACE cxx_std_11)
|
|
|
|
# Create an alias for consistent naming
|
|
add_library(stb_dxt::stb_dxt ALIAS stb_dxt)
|