Skip to content

Commit

Permalink
Fix for CMake using MinGW (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn authored Nov 4, 2024
1 parent 77619f8 commit a72858e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ endif()

if(MINGW)
find_package(directxmath CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC Microsoft::DirectXMath)
else()
find_package(directxmath CONFIG QUIET)
endif()
Expand Down

0 comments on commit a72858e

Please sign in to comment.