Skip to content

Commit

Permalink
Merge branch 'master' into 745-issue_kinks_guides
Browse files Browse the repository at this point in the history
  • Loading branch information
svengoldberg committed Jul 30, 2024
2 parents c441f67 + 8f02c5b commit e6ecd08
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cmake/UseOpenCASCADE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ else(OCE_FOUND)
find_package(OpenCASCADE CONFIG REQUIRED COMPONENTS FoundationClasses ModelingData ModelingAlgorithms Visualization ApplicationFramework DataExchange)
option(OpenCASCADE_STATIC_LIBS "Should be checked, if static OpenCASCADE libs are linked" OFF)

# PATCH OpenCASCADE_LIBRARIES for removing unnecessary libraries
list (REMOVE_ITEM OpenCASCADE_LIBRARIES ${OpenCASCADE_Draw_LIBRARIES})
list (REMOVE_ITEM OpenCASCADE_LIBRARIES ${OpenCASCADE_DETools_LIBRARIES})
# PATCH OpenCASCADE_LIBRARIES for removing unnecessary libraries if present
if(DEFINED OpenCASCADE_Draw_LIBRARIES)
list (REMOVE_ITEM OpenCASCADE_LIBRARIES ${OpenCASCADE_Draw_LIBRARIES})
endif(DEFINED OpenCASCADE_Draw_LIBRARIES)
if(DEFINED OpenCASCADE_DETools_LIBRARIES)
list (REMOVE_ITEM OpenCASCADE_LIBRARIES ${OpenCASCADE_DETools_LIBRARIES})
endif(DEFINED OpenCASCADE_DETools_LIBRARIES)
message(STATUS "Found opencascade " ${OpenCASCADE_VERSION})

FIND_PATH(OpenCASCADE_SHADER_DIRECTORY
Expand Down

0 comments on commit e6ecd08

Please sign in to comment.