From fd88e8c5e2a42d23f2ac796c52be36b067a3b3f7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 8 Apr 2015 10:50:28 +0200 Subject: fixed location error (nw) --- scripts/src/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/src/main.lua') diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 10796c02bb7..079b46ea26e 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -27,10 +27,6 @@ function mainProject(_target, _subtarget) "Unicode", } - if _OPTIONS["SEPARATE_BIN"]~="1" then - targetdir(MAME_DIR) - end - configuration { "mingw*" or "vs*" } targetextension ".exe" @@ -39,6 +35,10 @@ function mainProject(_target, _subtarget) configuration { } + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end + findfunction("linkProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"]) links { "osd_" .. _OPTIONS["osd"], -- cgit v1.2.3-70-g09d2