Require SDL2 2.0.4 on all target platforms.
This commit is contained in:
parent
db5cf990de
commit
907eb5bf7e
2 changed files with 2 additions and 10 deletions
|
@ -58,11 +58,7 @@ option(ENABLE_LIBINTL "Enable using libintl for translations instead of Boost.Lo
|
|||
option(ENABLE_HISTORY "Enable using GNU history for history in lua console" ON)
|
||||
|
||||
|
||||
if(UNIX AND NOT APPLE AND NOT CYGWIN)
|
||||
find_package(SDL2 2.0.2 REQUIRED)
|
||||
else (UNIX AND NOT APPLE AND NOT CYGWIN)
|
||||
find_package(SDL2 2.0.4 REQUIRED)
|
||||
endif (UNIX AND NOT APPLE AND NOT CYGWIN)
|
||||
find_package(SDL2 2.0.4 REQUIRED)
|
||||
|
||||
find_package(Boost 1.36 REQUIRED COMPONENTS iostreams program_options regex system thread)
|
||||
find_package(Boost 1.40 REQUIRED COMPONENTS random)
|
||||
|
|
|
@ -178,11 +178,7 @@ if env['distcc']:
|
|||
|
||||
if env['ccache']: env.Tool('ccache')
|
||||
|
||||
SDL2_version = '';
|
||||
if env["PLATFORM"] is "win32" or env["PLATFORM"] is "cygwin" or env["PLATFORM"] is "darwin":
|
||||
SDL2_version = '2.0.4';
|
||||
else:
|
||||
SDL2_version = '2.0.2';
|
||||
SDL2_version = '2.0.4';
|
||||
|
||||
|
||||
Help("""Arguments may be a mixture of switches and targets in any order.
|
||||
|
|
Loading…
Add table
Reference in a new issue