From a72858ed3d0fe342af326ec53d1762eb59a19d5b Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Mon, 4 Nov 2024 12:13:48 -0800 Subject: [PATCH] Fix for CMake using MinGW (#505) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f504d53..daab632 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()