FEM: Make SMESH7 compile with occ6

This commit is contained in:
Stefan Tröger
2016-05-14 11:01:57 +02:00
committed by wmayer
parent 666a3e5a68
commit 61f503ad51
8 changed files with 58 additions and 20 deletions

View File

@@ -647,6 +647,9 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Salome SMESH sources are under src/3rdParty now
IF(OCC_FOUND)
if(NOT FREECAD_USE_EXTERNAL_SMESH)
find_package(VTK REQUIRED)
find_package(HDF5 REQUIRED)
find_package(MEDFile REQUIRED)
set(SMESH_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/3rdParty/salomesmesh/inc)
else()
find_package(SMESH)