cmake - drop OPENCASCADE_LIBRARIES variable #7388

This commit is contained in:
Andrej730
2025-12-02 17:58:35 +05:00
parent a5d0187343
commit 6cbd3ed014
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -207,8 +207,8 @@ endif()
if(WITH_OPENCASCADE)
find_package(OpenCASCADE REQUIRED)
# Map OpenCASCADE_LIBRARIES variable from OpenCASCADEConfig.cmake to OPENCASCADE_LIBRARIES used by kernel generic cmake file
set(OPENCASCADE_LIBRARIES ${OpenCASCADE_LIBRARIES})
# Map OpenCASCADE_LIBRARIES variable from OpenCASCADEConfig.cmake to OpenCASCADE_LIBRARIES used by kernel generic cmake file
set(OpenCASCADE_LIBRARIES ${OpenCASCADE_LIBRARIES})
add_definitions(-DIFOPSH_WITH_OPENCASCADE)
set(SWIG_DEFINES ${SWIG_DEFINES} -DIFOPSH_WITH_OPENCASCADE)
list(APPEND GEOMETRY_KERNELS opencascade)