kodi: don't build internal TexturePacker

- idea taken from c7752a6889
This commit is contained in:
CvH 2021-11-21 15:15:58 +01:00
parent 326605194f
commit 6191389547

View File

@ -0,0 +1,13 @@
--- a/cmake/modules/FindTexturePacker.cmake
+++ b/cmake/modules/FindTexturePacker.cmake
@@ -52,10 +52,6 @@ if(NOT TARGET TexturePacker::TexturePack
endif()
endif()
- # Ship TexturePacker only on Linux and FreeBSD
- if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(INTERNAL_TEXTUREPACKER_INSTALLABLE TRUE)
- endif()
# Use it during build if build architecture is same as host
# (not cross-compiling) and TEXTUREPACKER_EXECUTABLE is not found