vcpkg/ports/ktx/0004-quirks.patch

22 lines
698 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9775c89..a4dfc2a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,7 +235,7 @@ include(cmake/mkvk.cmake)
# Global compile & link options including optimization flags
if(MSVC)
add_compile_options( /W4;/WX )
- add_compile_options( $<IF:$<CONFIG:Debug>,/Gz,/O2> )
+ add_compile_options( $<IF:$<CONFIG:Debug>,,/O2> )
elseif(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU"
OR ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_compile_options(-Wall -Wextra -Werror)
@@ -851,6 +851,7 @@ if(EMSCRIPTEN)
endif()
add_library( objUtil STATIC
+ EXCLUDE_FROM_ALL
utils/argparser.cpp
utils/argparser.h
utils/ktxapp.h