diff --git a/CMakeLists.txt b/CMakeLists.txt index f504d53d..daab6322 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()