Browse Source

Fix include search paths

Remove expectation that the Rocket include structure will be in the
global include path.
Marco Bortolin 6 years ago
parent
commit
6bf0f3383d

+ 1 - 1
Include/Rocket/Controls/Lua/Controls.h

@@ -28,7 +28,7 @@
 #ifndef ROCKETCONTROLSLUACONTROLS_H
 #define ROCKETCONTROLSLUACONTROLS_H
 
-#include <Rocket/Controls/Lua/Header.h>
+#include "Header.h"
 
 namespace Rocket {
 namespace Controls {

+ 1 - 1
Include/Rocket/Controls/Lua/Header.h

@@ -28,7 +28,7 @@
 #ifndef ROCKETCONTROLSLUAHEADER_H
 #define ROCKETCONTROLSLUAHEADER_H
 
-#include <Rocket/Core/Platform.h>
+#include "../../Core/Platform.h"
 
 #ifdef ROCKETLUA_API
 #undef ROCKETLUA_API

+ 1 - 1
Include/Rocket/Core/FontFamily.h

@@ -28,7 +28,7 @@
 #ifndef ROCKETCOREFONTFAMILY_H
 #define ROCKETCOREFONTFAMILY_H
 
-#include <Rocket/Core/StringUtilities.h>
+#include "StringUtilities.h"
 #include "Font.h"
 
 namespace Rocket {

+ 3 - 3
Include/Rocket/Core/FontProvider.h

@@ -28,9 +28,9 @@
 #ifndef ROCKETCOREFONTPROVIDER_H
 #define ROCKETCOREFONTPROVIDER_H
 
-#include <Rocket/Core/StringUtilities.h>
-#include <Rocket/Core/Font.h>
-#include <Rocket/Core/Header.h>
+#include "StringUtilities.h"
+#include "Font.h"
+#include "Header.h"
 
 namespace Rocket {
 namespace Core {

+ 1 - 1
Include/Rocket/Core/Lua/Header.h

@@ -28,7 +28,7 @@
 #ifndef ROCKETCORELUAHEADER_H
 #define ROCKETCORELUAHEADER_H
 
-#include <Rocket/Core/Platform.h>
+#include "../Platform.h"
 
 #ifdef ROCKETLUA_API
 #undef ROCKETLUA_API

+ 2 - 2
Include/Rocket/Core/Lua/Interpreter.h

@@ -29,8 +29,8 @@
 #define ROCKETCORELUAINTERPRETER_H 
 
 #include "Header.h"
-#include <Rocket/Core/Lua/lua.hpp>
-#include <Rocket/Core/Plugin.h>
+#include "lua.hpp"
+#include "../Plugin.h"
 
 namespace Rocket {
 namespace Core {

+ 2 - 2
Include/Rocket/Core/Lua/LuaType.h

@@ -28,8 +28,8 @@
 #ifndef ROCKETCORELUALUATYPE_H
 #define ROCKETCORELUALUATYPE_H
 
-#include <Rocket/Core/Lua/Header.h>
-#include <Rocket/Core/Lua/lua.hpp>
+#include "Header.h"
+#include "lua.hpp"
 
 
 //As an example, if you used this macro like

+ 4 - 4
Include/Rocket/Core/Lua/Utilities.h

@@ -30,10 +30,10 @@
 /*
     This file is for free-floating functions that are used across more than one file.
 */
-#include <Rocket/Core/Lua/Header.h>
-#include <Rocket/Core/Lua/lua.hpp>
-#include <Rocket/Core/Lua/LuaType.h>
-#include <Rocket/Core/Variant.h>
+#include "Header.h"
+#include "lua.hpp"
+#include "LuaType.h"
+#include "../Variant.h"
 
 namespace Rocket {
 namespace Core {