Skip to content

Commit

Permalink
Merge pull request #82 from santiberna/main
Browse files Browse the repository at this point in the history
Fix CMake debug optimization flags on MinGW
  • Loading branch information
spnda authored Nov 24, 2024
2 parents 48b3ac7 + e344a5e commit 22f1245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<$<CONFIG:DEBUG>:-Og>)
target_compile_options(${TARGET} PRIVATE $<$<CONFIG:DEBUG>:-Og>)
endif()

# https://github.com/simdjson/simdjson/blob/master/doc/basics.md#performance-tips
Expand Down

0 comments on commit 22f1245

Please sign in to comment.