Do not specify a version in FindOCC.cmake
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
8fb23b9117
commit
af0c256dd1
@@ -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]])
|
||||
|
||||
Reference in New Issue
Block a user