vcpkg/ports/ktx/0006-fix-ios-install.patch
Ada Tufankjian fcae467932
[ktx] Updating to 4.3.1 (and fixing iOS port problem with missing headers) (#36837)
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [X] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [X] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Updating the port to 4.3.1 was pretty painless. Adding the fix for the
iOS port seems a bit crass but I tried linking against the port without
issue. Sadly I can't test at runtime at the moment.
2024-02-28 17:22:36 -08:00

14 lines
361 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ccf4af61..2f6e404f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -484,7 +484,7 @@ macro(common_libktx_settings target enable_write library_type)
CXX_STANDARD_REQUIRED YES
)
- if(IOS)
+ if(0)
set_target_properties(${target} PROPERTIES
FRAMEWORK TRUE
)