Help resolving CMake export set errors

Hi,

I have a very simple SDL2 project repository where I link SDL, SDL_ttf, SDL_image, etc dependencies to the project. But while running the CMake, I get the following errors,

[CMake] CMake Error: install(EXPORT “SDL2ImageExports” …) includes target “SDL2_image” which requires target “SDL2” that is not in any export set.
[CMake] CMake Error: install(EXPORT “SDL2_ttfTargets” …) includes target “SDL2_ttf” which requires target “SDL2” that is not in any export set.
[CMake] CMake Error: install(EXPORT “SDL2MixerTargets” …) includes target “SDL2_mixer” which requires target “SDL2” that is not in any export set.

Here’s the git repository I’m using: GitHub - jrasanen/sdl2-cmake-testing

Any tips to fix these are appreciated, thanks!