diff --git a/cmake/FindAllegro.cmake b/cmake/FindAllegro.cmake --- a/cmake/FindAllegro.cmake +++ b/cmake/FindAllegro.cmake @@ -31,7 +31,7 @@ The following cache variables may also b #]=======================================================================] find_package(PkgConfig QUIET) -pkg_check_modules(PC_Allegro QUIET allegro) +pkg_check_modules(PC_Allegro QUIET allegro<5) find_path(Allegro_INCLUDE_DIR NAMES allegro.h