diff --git a/cmake/compilers.cmake b/cmake/compilers.cmake index 513879907..badbb19ff 100644 --- a/cmake/compilers.cmake +++ b/cmake/compilers.cmake @@ -13,7 +13,7 @@ macro(fastgltf_compiler_flags TARGET) if (MINGW) # Issue with MinGW: https://github.com/simdjson/simdjson/issues/1963 - target_compile_options(${TARGET} PUBLIC $<$:-Og>) + target_compile_options(${TARGET} PRIVATE $<$:-Og>) endif() # https://github.com/simdjson/simdjson/blob/master/doc/basics.md#performance-tips