]> git.mxchange.org Git - simgear.git/commitdiff
Hopefully fix test compilation on MSVC 2008+CMake
authorJames Turner <zakalawe@mac.com>
Fri, 9 Sep 2011 10:48:11 +0000 (11:48 +0100)
committerJames Turner <zakalawe@mac.com>
Fri, 9 Sep 2011 10:48:11 +0000 (11:48 +0100)
simgear/props/propertyObject_test.cxx
simgear/props/props_test.cxx

index b2c458ad5a12da9b33a52c601451fe1c35b0568e..5bb4ae58b8ef3c715a46cceda353bb8c8fffad2d 100644 (file)
@@ -5,6 +5,9 @@
 #include <cassert>
 #include <cstring>
 
+// working around MSVC weirdness with props.hxx and SGMathFwd
+#include <simgear/math/SGMath.hxx>
+
 #include "propertyObject.hxx"
 
 #include <simgear/structure/exception.hxx>
index b310982149aa53da008836b2b60fa28cf73fc97a..cd54ec501e816a3892e39c5603b55c3c98af5bcd 100644 (file)
@@ -6,6 +6,10 @@
 #include <simgear/compiler.h>
 
 #include <iostream>
+
+// working around MSVC weirdness with props.hxx and SGMathFwd
+#include <simgear/math/SGMath.hxx>
+
 #include "props.hxx"
 #include "props_io.hxx"