SDL2_TTF and CMake

How can I use SDL2_TTF with CMake? I am aware that SDL_ttf.h is in the same folder as SDL2, but everything I’ve seen with CMake involves using:

# Find SDL2_TTF
find_package(SDL2_ttf REQUIRED)
target_link_libraries(chip8 ${SDL2_TTF_LIBRARIES})

Which when I try to print, bring up blank. I’ve tried asking other places online, and I’ve tried researching this issue, but I couldn’t find anything. I see there is something called “FindSDL.cmake”, but I don’t know what that is, or where it is on my system
OS: Manjaro Linux x86_64
Kernel: 6.6.10-1-MANJARO
DE: Plasma 5.27.10
sdl2_ttf package: 2.20.2-1

The solution I’ve managed to come up with is to create a folder called cmake/sdl2 and clone this repo: Amine B. Hassouna / SDL2 CMake modules · GitLab and in my CMakeLists include the line: