Changeset - r24729:1dec7661a7c2
[Not reviewed]
master
0 1 0
Patric Stout - 3 years ago 2021-02-07 11:54:02
truebrain@openttd.org
Fix: [CMake] our allegro drivers use v4, so skip v5 if found (#8653)

On some distros allegro v5 is called allegro-5, but on some others
it is not. So this should fix for all distros that allegro v5 is
not being picked up, and only v4 is.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
cmake/FindAllegro.cmake
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)