mirror of https://github.com/OpenTTD/OpenTTD
Fix: Allow building with Allegro and without SDL on Linux
parent
e74069e4c2
commit
b749d6f1cb
|
@ -150,8 +150,8 @@ check_ipo_supported(RESULT IPO_FOUND)
|
||||||
show_options()
|
show_options()
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE AND NOT OPTION_DEDICATED)
|
if(UNIX AND NOT APPLE AND NOT OPTION_DEDICATED)
|
||||||
if(NOT SDL_FOUND AND NOT SDL2_FOUND)
|
if(NOT SDL_FOUND AND NOT SDL2_FOUND AND NOT ALLEGRO_FOUND)
|
||||||
message(FATAL_ERROR "SDL or SDL2 is required for this platform")
|
message(FATAL_ERROR "SDL, SDL2 or Allegro is required for this platform")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
|
Loading…
Reference in New Issue