From cc95d4448c6005c3007c8460f09b8be1595eb3c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 3 Nov 2016 00:23:55 +0100 Subject: scons: Reorder options for clarity Also prefix all thirdparty-related toggles with `builtin`. --- drivers/gl_context/SCsub | 2 +- drivers/png/SCsub | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/gl_context/SCsub b/drivers/gl_context/SCsub index efc925dae4..a968c10cfd 100644 --- a/drivers/gl_context/SCsub +++ b/drivers/gl_context/SCsub @@ -4,7 +4,7 @@ Import('env') if (env["platform"] in ["haiku", "osx", "windows", "x11"]): # Thirdparty source files - if (env["glew"] != "system"): # builtin + if (env['builtin_glew'] != 'no'): # builtin thirdparty_dir = "#thirdparty/glew/" thirdparty_sources = [ "glew.c", diff --git a/drivers/png/SCsub b/drivers/png/SCsub index aedde3e2b7..6684e36b20 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -5,7 +5,7 @@ Import('env') env_png = env.Clone() # Thirdparty source files -if (env["libpng"] == "builtin"): +if (env['builtin_libpng'] != 'no'): thirdparty_dir = "#thirdparty/libpng/" thirdparty_sources = [ "png.c", -- cgit v1.2.3