mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 10:34:31 +00:00
cmake - make USD_SUPPORT build succeed
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "../ifcparse/utils.h"
|
||||
|
||||
// undefine opencascade Handle macro, because it conflicts with USD
|
||||
// Macro source code lives in Standard_Handle.hxx.
|
||||
#pragma push_macro("Handle")
|
||||
#undef Handle
|
||||
|
||||
#include "pxr/pxr.h"
|
||||
@@ -38,6 +40,9 @@
|
||||
#include "pxr/usd/usdGeom/mesh.h"
|
||||
#include "pxr/usd/usdShade/material.h"
|
||||
|
||||
// redefine Handle macro.
|
||||
#pragma pop_macro("Handle")
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
Reference in New Issue
Block a user