From 2d12aacd4925592d774f4dd766b51d4d48980c0e Mon Sep 17 00:00:00 2001 From: balr0g Date: Fri, 15 May 2015 10:56:08 -0400 Subject: Fix NO_USE_MIDI --- scripts/src/3rdparty.lua | 2 +- scripts/src/main.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index a401853f88b..70076410b5e 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -446,7 +446,7 @@ project "sqllite3" -------------------------------------------------- -- portmidi library objects -------------------------------------------------- -if _OPTIONS["NO_USE_MIDI"]=="0" then +if _OPTIONS["NO_USE_MIDI"]~="1" then project "portmidi" uuid "587f2da6-3274-4a65-86a2-f13ea315bb98" kind "StaticLib" diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 3cf80d968d0..870c9dfed88 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -104,7 +104,7 @@ function mainProject(_target, _subtarget) "jsoncpp", "mongoose", } - if _OPTIONS["NO_USE_MIDI"]=="0" then + if _OPTIONS["NO_USE_MIDI"]~="1" then links { "portmidi", } -- cgit v1.2.3-70-g09d2