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 `$:/WX> ) - add_compile_options( $,/Gz,/O2> ) + add_compile_options( $,,/O2> ) # Enable UTF-8 support add_compile_options( $<$:/utf-8> ) add_compile_options( $<$:/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