Ver código fonte

Fix some includes for building python bindings with cmake.

So that we don't need to include the source directories as
'include directories'.
Hilton Medeiros 15 anos atrás
pai
commit
43744ab0ff

+ 1 - 1
Source/Controls/Python/DataFormatterWrapper.cpp

@@ -25,7 +25,7 @@
  *
  */
 
-#include <precompiled.h>
+#include "precompiled.h"
 #include "DataFormatterWrapper.h"
 
 namespace Rocket {

+ 7 - 7
Source/Core/Python/ElementInterface.cpp

@@ -29,15 +29,15 @@
 #include "ElementInterface.h"
 #include <Rocket/Core/Python/Utilities.h>
 #include <Rocket/Core/Python/VectorInterface.h>
-#include <ElementHandle.h>
-#include <ElementImage.h>
-#include <ElementTextDefault.h>
+#include "../ElementHandle.h"
+#include "../ElementImage.h"
+#include "../ElementTextDefault.h"
 #include <Rocket/Core/ElementUtilities.h>
 #include <Rocket/Core/Factory.h>
-#include <Python/ElementAttributeProxy.h>
-#include <Python/ElementChildrenProxy.h>
-#include <Python/ElementDocumentWrapper.h>
-#include <Python/ElementStyleProxy.h>
+#include "ElementAttributeProxy.h"
+#include "ElementChildrenProxy.h"
+#include "ElementDocumentWrapper.h"
+#include "ElementStyleProxy.h"
 #include <Rocket/Core/Python/ElementInstancer.h>
 #include <Rocket/Core/Python/ElementWrapper.h>