diff --git a/engine/wscript b/engine/wscript index a05bf2c7..c42f1967 100644 --- a/engine/wscript +++ b/engine/wscript @@ -8,9 +8,6 @@ import os top = '.' def options(opt): - opt.add_option( - '--sdl2', action='store', type='string', dest = 'SDL2_PATH', default = None, - help = 'SDL2 path to build(required for Windows)') opt.add_option( '--enable-bsp2', action = 'store_true', dest = 'SUPPORT_BSP2_FORMAT', default = False, help = 'build engine with BSP2 map support(recommended for Quake, breaks compability!)') diff --git a/wscript b/wscript index 97700378..88cdfca1 100644 --- a/wscript +++ b/wscript @@ -55,6 +55,10 @@ def options(opt): '--no-gcc-colors', action = 'store_false', dest = 'GCC_COLORS', default = True, help = 'do not enable gcc colors') + opt.add_option( + '--sdl2', action='store', type='string', dest = 'SDL2_PATH', default = None, + help = 'SDL2 path to build(required for Windows)') + opt.recurse(SUBDIRS) def configure(conf):