Require minimum version of Allegro.
This commit is contained in:
parent
a93e9a7b73
commit
395c3c854f
@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_RELWITHDEBINFO "-g -O3 -ffast-math")
|
||||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os")
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(ALLEG5 REQUIRED allegro-5 allegro-5.0)
|
||||
pkg_check_modules(ALLEG5 REQUIRED allegro-5>=5.1.9 allegro-5.0>=5.1.9)
|
||||
pkg_check_modules(ALLEG5-PRIM REQUIRED allegro_primitives-5 allegro_primitives-5.0)
|
||||
pkg_check_modules(ALLEG5-FONT REQUIRED allegro_font-5 allegro_font-5.0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user