I’m using cmake to build a library depending on SDL2. My Linux distribution recently switched to cmake for building SDL2. Thus, the SDL2Config.cmake provided with it only delivers an SDL2 target to link against.
However, my cmake script needs the SDL2 include path as a variable. How do I access it after this change?