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()