Changeset - r24870:8e3c3de1cd5e
[Not reviewed]
master
0 1 0
milek7 - 3 years ago 2021-02-21 21:53:35
me@milek7.pl
Fix: Allow building with Allegro and without SDL on Linux
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -150,8 +150,8 @@ check_ipo_supported(RESULT IPO_FOUND)
 
show_options()
 

	
 
if(UNIX AND NOT APPLE AND NOT OPTION_DEDICATED)
 
    if(NOT SDL_FOUND AND NOT SDL2_FOUND)
 
        message(FATAL_ERROR "SDL or SDL2 is required for this platform")
 
    if(NOT SDL_FOUND AND NOT SDL2_FOUND AND NOT ALLEGRO_FOUND)
 
        message(FATAL_ERROR "SDL, SDL2 or Allegro is required for this platform")
 
    endif()
 
endif()
 
if(APPLE)
0 comments (0 inline, 0 general)