From 25e23030ec23d2f4fd8a1c5b3e77ed37c6dd59ff Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Thu, 12 Mar 2020 04:41:57 -0700 Subject: [PATCH] ui: Use 3rd party dirent for ImGuiFileDialog --- build.sh | 3 +++ ui/Makefile.objs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 52a7d28754..272fae2ca8 100755 --- a/build.sh +++ b/build.sh @@ -76,6 +76,9 @@ esac git submodule update --init ui/inih git submodule update --init ui/imgui git submodule update --init ui/ImGuiFileDialog +pushd ui/ImGuiFileDialog +git submodule update --init 3rdparty/dirent +popd # find absolute path (and resolve symlinks) to build out of tree configure="$(dirname "$($readlink -f "${0}")")/configure" diff --git a/ui/Makefile.objs b/ui/Makefile.objs index 12c8271c55..60439718e4 100644 --- a/ui/Makefile.objs +++ b/ui/Makefile.objs @@ -43,7 +43,7 @@ sdl.mo-objs := \ ui/xemu-shaders.o: ui/shader/xemu-logo-frag.h ifeq ($(CONFIG_WIN32),y) -IMGUI_FLAGS = -DWIN32 -DMINGW32 +IMGUI_FLAGS = -DWIN32 -DMINGW32 -Iui/ImGuiFileDialog/3rdparty/dirent/include endif ifeq ($(CONFIG_LINUX),y) IMGUI_FLAGS = -DLINUX