diff --git a/cMake/FindOCC.cmake b/cMake/FindOCC.cmake index 4e34c009ef..6a91e6871b 100644 --- a/cMake/FindOCC.cmake +++ b/cMake/FindOCC.cmake @@ -9,7 +9,7 @@ # we first try to find opencascade directly: if (NOT OCCT_CMAKE_FALLBACK) - find_package(OpenCASCADE "7.5.1" CONFIG QUIET) + find_package(OpenCASCADE CONFIG QUIET) get_property(flags DIRECTORY PROPERTY COMPILE_DEFINITIONS) # OCCT 7.5 adds this define that causes hundreds of compiler warnings with Qt5.x, so remove it again list(FILTER flags EXCLUDE REGEX [[GL_GLEXT_LEGACY]])