diff --git a/src/Makefile.am b/src/Makefile.am index 4ffee369a3..cff504d81d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -390,9 +390,9 @@ Lua = ../extern/lua-5.1/src/lapi.c ../extern/lua-5.1/src/lauxlib.c ../extern/lua ../extern/lua-5.1/src/lundump.h ../extern/lua-5.1/src/lvm.h ../extern/lua-5.1/src/lzio.h jsoncpp = ../extern/jsoncpp/src/lib_json/json_reader.cpp \ -../extern/jsoncpp/src/lib_json/json_value.cpp \ -../extern/jsoncpp/src/lib_json/json_writer.cpp \ -../extern/jsoncpp/include/json/autolink.h \ +../extern/jsoncpp/src/lib_json/json_value.cpp \ +../extern/jsoncpp/src/lib_json/json_writer.cpp \ +../extern/jsoncpp/include/json/autolink.h \ ../extern/jsoncpp/include/json/config.h \ ../extern/jsoncpp/include/json/features.h \ ../extern/jsoncpp/include/json/forwards.h \ @@ -603,6 +603,8 @@ libtomcrypt_a_CPPFLAGS = -I$(srcdir)/libtomcrypt/src/headers $(AM_CPPFLAGS) noinst_LIBRARIES += libtomcrypt.a +main_CPPFLAGS = -I$(top_srcdir)/extern/jsoncpp/include + main_SOURCES = $(PNG) \ $(Screens) \ $(DataStructures) \ @@ -622,6 +624,7 @@ main_LDADD = \ libtomcrypt.a libtommath.a nodist_stepmania_SOURCES = ver.cpp +stepmania_CPPFLAGS = -I$(top_srcdir)/extern/jsoncpp/include stepmania_SOURCES = $(main_SOURCES) stepmania_LDADD = $(main_LDADD) diff --git a/src/NotesLoaderJson.cpp b/src/NotesLoaderJson.cpp index 0d44550d97..1c0501114a 100644 --- a/src/NotesLoaderJson.cpp +++ b/src/NotesLoaderJson.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "NotesLoaderJson.h" -#include "Json/Value.h" +#include "json/value.h" #include "TimingData.h" #include "RageUtil.h" #include "JsonUtil.h" diff --git a/src/NotesWriterJson.cpp b/src/NotesWriterJson.cpp index 9dfc1d74a8..8bf5186275 100644 --- a/src/NotesWriterJson.cpp +++ b/src/NotesWriterJson.cpp @@ -1,7 +1,7 @@ #include "global.h" #include "NotesWriterJson.h" #include "TimingData.h" -#include "Json/Value.h" +#include "json/value.h" #include "JsonUtil.h" #include "Song.h" #include "BackgroundUtil.h"