Patch for MIPS64 Architecture

This commit is contained in:
Zhang Wei
2020-02-16 01:49:04 +08:00
committed by wwmayer
parent 5f7856df15
commit 0bef3cdee4
4 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#include <numeric>
#include <gp_Pnt.hxx>
#include <BRepExtrema_DistShapeShape.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>

View File

@@ -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>

View File

@@ -37,6 +37,7 @@
# include <Geom2dAPI_ProjectPointOnCurve.hxx>
# include <GeomAPI.hxx>
# include <BRepAdaptor_Surface.hxx>
# include <IntRes2d_IntersectionSegment.hxx>
#endif
#ifndef M_PI