aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ktx/0004-quirks.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ktx/0004-quirks.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ktx/0004-quirks.patch')
-rw-r--r--vcpkg/ports/ktx/0004-quirks.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/ktx/0004-quirks.patch b/vcpkg/ports/ktx/0004-quirks.patch
new file mode 100644
index 0000000..afc3423
--- /dev/null
+++ b/vcpkg/ports/ktx/0004-quirks.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1500844..810914e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -263,7 +263,7 @@ if(MSVC)
+ # ";" argument separator is problematic. Can't use a GenEx `$<IF:`
+ # because `/W4;/WX` is returned as a single string.
+ add_compile_options( /W4;$<$<BOOL:${KTX_WERROR}>:/WX> )
+- add_compile_options( $<IF:$<CONFIG:Debug>,/Gz,/O2> )
++ add_compile_options( $<IF:$<CONFIG:Debug>,,/O2> )
+ # Enable UTF-8 support
+ add_compile_options( $<$<C_COMPILER_ID:MSVC>:/utf-8> )
+ add_compile_options( $<$<CXX_COMPILER_ID:MSVC>:/utf-8> )
+@@ -946,6 +946,7 @@ if(EMSCRIPTEN)
+ endif()
+
+ add_library( objUtil STATIC
++ EXCLUDE_FROM_ALL
+ utils/argparser.cpp
+ utils/argparser.h
+ utils/ktxapp.h