Plugins: Cmake: OpenCasCade: Changing header used for include directory search. See Following.

BRepMesh.hxx is gone in occt 7.4. Now searching for Standard_Version.hxx, which should be more consistent.
This commit is contained in:
blobfish 2019-12-19 10:16:09 -05:00
parent c5ff9e63df
commit 023bfb8bbb

View File

@ -8,7 +8,7 @@
# correspond to the ./configure --prefix=$OPENCASCADE_DIR # correspond to the ./configure --prefix=$OPENCASCADE_DIR
# used in building OPENCASCADE. # used in building OPENCASCADE.
FIND_PATH(OPENCASCADE_INCLUDE_DIR BRepMesh.hxx FIND_PATH(OPENCASCADE_INCLUDE_DIR Standard_Version.hxx
PATHS PATHS
${OPENCASCADE_DIR} ${OPENCASCADE_DIR}
$ENV{OPENCASCADE_DIR} $ENV{OPENCASCADE_DIR}