Skip to content

Commit 84ba8a5

Browse files
authored
[libsquish] Fix usage (#26367)
* [libsquish] Fix usage * version
1 parent c175d8e commit 84ba8a5

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

Diff for: ports/libsquish/export-target.patch

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index a3ecdde..94c7b3d 100644
2+
index a3ecdde..6aa9e64 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -120,8 +120,14 @@ INCLUDE(GNUInstallDirs)
5+
@@ -75,6 +75,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
6+
7+
ADD_LIBRARY(squish ${SQUISH_SRCS} ${SQUISH_HDRS})
8+
9+
+TARGET_INCLUDE_DIRECTORIES(squish PUBLIC $<INSTALL_INTERFACE:include>)
10+
+
11+
INCLUDE(GenerateExportHeader)
12+
GENERATE_EXPORT_HEADER(squish
13+
EXPORT_FILE_NAME ${CMAKE_CURRENT_SOURCE_DIR}/squish_export.h
14+
@@ -120,8 +122,14 @@ INCLUDE(GNUInstallDirs)
615

716
INSTALL(
817
TARGETS squish

Diff for: ports/libsquish/vcpkg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "libsquish",
33
"version": "1.15",
4-
"port-version": 11,
4+
"port-version": 12,
55
"description": "Open source DXT compression library.",
66
"homepage": "https://sourceforge.net/projects/libsquish",
77
"license": "MIT",

Diff for: versions/baseline.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4114,7 +4114,7 @@
41144114
},
41154115
"libsquish": {
41164116
"baseline": "1.15",
4117-
"port-version": 11
4117+
"port-version": 12
41184118
},
41194119
"libsrt": {
41204120
"baseline": "1.5.0",

Diff for: versions/l-/libsquish.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "6a7a36071f8261b00c8720cbf8024df31c15650f",
5+
"version": "1.15",
6+
"port-version": 12
7+
},
38
{
49
"git-tree": "3c259e069413fc51d82423f6c9842ad285e210e9",
510
"version": "1.15",

0 commit comments

Comments
 (0)