I am running arch linux and I am trying to compile the samples but when running the cmake .. I get error on SDL
CMake Error at sdl2/redrectangle/CMakeLists.txt:14 (find_package):
Could not find a configuration file for package "SDL2" that is compatible
with requested version "".
The following configuration files were considered but not accepted:
/usr/lib/cmake/SDL2/SDL2Config.cmake, version: 2.26.4 (64bit)