Require minimum version of Allegro.

This commit is contained in:
Nicolás Ortega Froysa 2018-04-04 11:55:02 +02:00
parent a93e9a7b73
commit 395c3c854f
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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)