瀏覽代碼

Switch from using deprecated Options class to Variables

C4NCER 11 年之前
父節點
當前提交
942f14747b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SConstruct

+ 1 - 1
SConstruct

@@ -88,7 +88,7 @@ if profile:
 	elif os.path.isfile(profile+".py"):
 		customs.append(profile+".py")
 
-opts=Options(customs, ARGUMENTS)
+opts=Variables(customs, ARGUMENTS)
 opts.Add('target', 'Compile Target (debug/profile/release).', "debug")
 opts.Add('platform','Platform: '+str(platform_list)+'(sfml).',"")
 opts.Add('python','Build Python Support: (yes/no)','no')