Fix: [CMake] Error when SDL2 provides SDL2Config

This commit is contained in:
Frédéric Simonis 2020-06-07 12:06:40 +02:00 committed by Niels Martin Hansen
parent fe1925931d
commit 90e849198f
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ link_package(XDG_basedir)
if (NOT OPTION_DEDICATED)
link_package(Fluidsynth)
link_package(SDL)
link_package(SDL2)
link_package(SDL2 TARGET SDL2::SDL2)
link_package(Allegro)
link_package(FREETYPE TARGET Freetype::Freetype)
link_package(Fontconfig TARGET Fontconfig::Fontconfig)