From 62120bad508094eecc60b208d4d4890acf21b6db Mon Sep 17 00:00:00 2001 From: OmniBlade Date: Tue, 21 Feb 2023 12:26:00 +0000 Subject: [PATCH] Updates GameMath version used. GameMath has been updated to make use of CPU instructions in some functions. --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20408a1c4..64a5c4994 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,7 +248,7 @@ if(USE_GAMEMATH) FetchContent_Declare( gamemath_git GIT_REPOSITORY https://github.com/TheAssemblyArmada/GameMath.git - GIT_TAG f133b2cc8f85de6c2967ae77177daf0b8bbf39c0 + GIT_TAG 59f7ccd494f7e7c916a784ac26ef266f9f09d78d ) # We don't use FetchContent_MakeAvailable here because we don't want all gamemath targets including, just our dependencies. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7d868ca7f..bd6672be5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -574,7 +574,7 @@ if(USE_SDL2) endif() if(USE_GAMEMATH) - list(APPEND GAME_LINK_LIBRARIES gamemath_static_lib) + list(APPEND GAME_LINK_LIBRARIES gamemath::gamemath) list(APPEND GAME_COMPILE_OPTIONS -DBUILD_WITH_GAMEMATH) endif()