Update CMake config to work with smesh 6.5.3.1.

New fork of standalone smesh is available here:
https://github.com/tpaviot/smesh
This commit is contained in:
Richard M. Shaw
2014-12-18 13:18:40 -06:00
committed by wmayer
parent 90954b06f8
commit d5e8ae2d05
6 changed files with 27 additions and 29 deletions

View File

@@ -9,12 +9,14 @@
IF (CMAKE_COMPILER_IS_GNUCC)
FIND_PATH(SMESH_INCLUDE_DIR SMESH_Mesh.hxx
/usr/include
/usr/local/include
# These are default search paths, why specify them?
# /usr/include
# /usr/local/include
PATH_SUFFIXES smesh
)
FIND_LIBRARY(SMESH_LIBRARY SMESH
/usr/lib
/usr/local/lib
# /usr/lib
# /usr/local/lib
)
ELSE (CMAKE_COMPILER_IS_GNUCC)
# Not yet implemented