Patch for MIPS64 Architecture
This commit is contained in:
@@ -13,7 +13,11 @@ macro(SetGlobalCompilerAndLinkerSettings)
|
||||
message(STATUS "Platform is 32-bit")
|
||||
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
|
||||
|
||||
# check for mips64 platform
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "mips64")
|
||||
message(STATUS "Architecture: mips64")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mxgot")
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# set default compiler settings
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#include <numeric>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <BRepExtrema_DistShapeShape.hxx>
|
||||
#include <BRepBuilderAPI_MakeVertex.hxx>
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
# include <ShapeConstruct_Curve.hxx>
|
||||
# include <GeomAPI_IntCS.hxx>
|
||||
# include <GeomAPI_ExtremaCurveCurve.hxx>
|
||||
# include <IntRes2d_IntersectionSegment.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
# include <Geom2dAPI_ProjectPointOnCurve.hxx>
|
||||
# include <GeomAPI.hxx>
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
# include <IntRes2d_IntersectionSegment.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
|
||||
Reference in New Issue
Block a user