vcpkg/ports/ktx/0004-quirks.patch

22 lines
708 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 88bad96..6ff6a84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,7 +304,7 @@ endif()
# Global compile & link options including optimization flags
if(MSVC)
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> )
@@ -1130,6 +1130,7 @@ if(EMSCRIPTEN)
endif()
add_library( objUtil STATIC
+ EXCLUDE_FROM_ALL
utils/argparser.cpp
utils/argparser.h
utils/ktxapp.h