Skip to content

Commit

Permalink
Fix for CMake on WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Nov 1, 2024
1 parent 77272b1 commit f82fde4
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 @@ -312,6 +312,7 @@ endif()
if(MINGW OR (NOT WIN32))
find_package(directxmath CONFIG REQUIRED)
find_package(directx-headers CONFIG REQUIRED)
target_compile_definitions(${PROJECT_NAME} PUBLIC USING_DIRECTX_HEADERS)
else()
find_package(directxmath CONFIG QUIET)
find_package(directx-headers CONFIG QUIET)
Expand Down

0 comments on commit f82fde4

Please sign in to comment.