mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
cmake - indicate that OpenCascade is only used by IfcGeom
This commit is contained in:
@@ -205,7 +205,7 @@ if(WITH_CGAL)
|
|||||||
list(APPEND GEOMETRY_KERNELS cgal)
|
list(APPEND GEOMETRY_KERNELS cgal)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_OPENCASCADE)
|
if(BUILD_IFCGEOM AND WITH_OPENCASCADE)
|
||||||
find_package(OpenCASCADE REQUIRED)
|
find_package(OpenCASCADE REQUIRED)
|
||||||
# Map OpenCASCADE_LIBRARIES variable from OpenCASCADEConfig.cmake to OpenCASCADE_LIBRARIES used by kernel generic cmake file
|
# Map OpenCASCADE_LIBRARIES variable from OpenCASCADEConfig.cmake to OpenCASCADE_LIBRARIES used by kernel generic cmake file
|
||||||
set(OpenCASCADE_LIBRARIES ${OpenCASCADE_LIBRARIES})
|
set(OpenCASCADE_LIBRARIES ${OpenCASCADE_LIBRARIES})
|
||||||
|
|||||||
Reference in New Issue
Block a user