From 8cc758355d51920adb7dc5b5899cf5fdca9fbd74 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Thu, 8 Feb 2018 22:06:25 +0100 Subject: Enable use of system-wide asio, glm and rapidjson (#3172) * Fixed building using system utf8proc * Fixed building using system portaudio * Allow using system-wide asio headers (1.11.0 or higher required). * Allow using system-wide glm headers * Allow using system-wide rapidjson headers --- scripts/src/devices.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/src/devices.lua') diff --git a/scripts/src/devices.lua b/scripts/src/devices.lua index 89d88fd7274..79bcdec11d4 100644 --- a/scripts/src/devices.lua +++ b/scripts/src/devices.lua @@ -39,9 +39,9 @@ function devicesProject(_target, _subtarget) MAME_DIR .. "3rdparty", GEN_DIR .. "emu", GEN_DIR .. "emu/layout", + ext_includedir("asio"), ext_includedir("expat"), ext_includedir("flac"), - MAME_DIR .. "3rdparty/asio/include", } dofile(path.join("src", "cpu.lua")) @@ -69,8 +69,8 @@ if #disasm_files > 0 then MAME_DIR .. "src/lib", MAME_DIR .. "src/lib/util", MAME_DIR .. "3rdparty", - MAME_DIR .. "3rdparty/asio/include", GEN_DIR .. "emu", + ext_includedir("asio"), ext_includedir("expat"), } -- cgit v1.2.3-70-g09d2