Do not specify a version in FindOCC.cmake
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
45ddcf8317
commit
d4f99901ae
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# we first try to find opencascade directly:
|
# we first try to find opencascade directly:
|
||||||
if (NOT OCCT_CMAKE_FALLBACK)
|
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)
|
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
|
# 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]])
|
list(FILTER flags EXCLUDE REGEX [[GL_GLEXT_LEGACY]])
|
||||||
|
|||||||
Reference in New Issue
Block a user