2023-04-15 05:14:37 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-01-12 07:53:34 +08:00
|
|
|
index 1500844..810914e 100644
|
2023-04-15 05:14:37 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-01-12 07:53:34 +08:00
|
|
|
@@ -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> )
|
2023-04-15 05:14:37 +08:00
|
|
|
- add_compile_options( $<IF:$<CONFIG:Debug>,/Gz,/O2> )
|
|
|
|
+ add_compile_options( $<IF:$<CONFIG:Debug>,,/O2> )
|
2024-01-12 07:53:34 +08:00
|
|
|
# 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)
|
2023-04-15 05:14:37 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library( objUtil STATIC
|
|
|
|
+ EXCLUDE_FROM_ALL
|
|
|
|
utils/argparser.cpp
|
|
|
|
utils/argparser.h
|
|
|
|
utils/ktxapp.h
|