Commit 16184469 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX] make it compile with MSVC again

parent 0504f5ea
...@@ -7,6 +7,9 @@ IF( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} ) ...@@ -7,6 +7,9 @@ IF( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} )
ENDIF() ENDIF()
IF( CMAKE_GENERATOR MATCHES "Visual Studio" )
ADD_DEFINITIONS( -DEIGEN_DONT_VECTORIZE -DEIGEN_DONT_ALIGN -DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT )
ENDIF()
# append search path for FindModules: # append search path for FindModules:
#------------------------------------ #------------------------------------
......
...@@ -255,6 +255,6 @@ OW_API_DEPRECATED OWCOMMON_EXPORT std::istream& operator>>( std::istream& in, WV ...@@ -255,6 +255,6 @@ OW_API_DEPRECATED OWCOMMON_EXPORT std::istream& operator>>( std::istream& in, WV
* \param lhs left hand side of product * \param lhs left hand side of product
* \param rhs right hand side of product * \param rhs right hand side of product
*/ */
OW_API_DEPRECATED OWCOMMON_EXPORT osg::Vec3d operator*( osg::Vec3d::value_type lhs, const osg::Vec3d& rhs ); OW_API_DEPRECATED OWCOMMON_EXPORT WVector3D operator*( osg::Vec3d::value_type lhs, const WVector3D& rhs );
#endif // WVECTOR3D_H #endif // WVECTOR3D_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment