From af0c256dd1deef4765a821e519944fa62b8c5985 Mon Sep 17 00:00:00 2001 From: Furgo <148809153+furgo16@users.noreply.github.com> Date: Sat, 22 Mar 2025 03:54:49 +0100 Subject: [PATCH] Do not specify a version in FindOCC.cmake --- cMake/FindOCC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]])