Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ include(cmake/compilers.cmake)
# Debug symbol stripping for Release builds (MinGW)
include(cmake/debug_strip.cmake)

# D3DX dependency verification for NO_D3DX builds (MinGW)
include(cmake/no_d3dx_verify.cmake)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this include after mingw.cmake or remove the configure-time outer guard. The verification command should also fail when objdump itself fails instead of allowing the grep miss to print SUCCESS.
On a fresh configure, this file is evaluated before mingw.cmake declares MINGW_NO_D3DX. Its outer condition is therefore false, add_no_d3dx_verification() is never defined, and the later COMMAND guards silently skip verification. It only activates on a subsequent configure if the option is already cached


include(FetchContent)

# MinGW-w64 specific configuration
Expand Down
Loading
Loading