Commit 960a9c80 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added OpenMesh Program Files path to finder

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6970 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 683a05c3
# - Try to findOPENMESH # - Try to findOPENMESH
# Once done this will define # Once done this will define
# #
# OPENMESH_FOUND - system has OPENMESH # OPENMESH_FOUND - system has OPENMESH
# OPENMESH_INCLUDE_DIR - theOPENMESH include directory # OPENMESH_INCLUDE_DIR - theOPENMESH include directory
# OPENMESH_LIBRARY - Link these to use OPENMESH # OPENMESH_LIBRARY - Link these to use OPENMESH
# OPENMESH_LIBRARY_DIR - Library DIR of OPENMESH # OPENMESH_LIBRARY_DIR - Library DIR of OPENMESH
# #
IF (OPENMESH_INCLUDE_DIRS) IF (OPENMESH_INCLUDE_DIRS)
# Already in cache, be silent # Already in cache, be silent
SET(OPENMESH_FIND_QUIETLY TRUE) SET(OPENMESH_FIND_QUIETLY TRUE)
ENDIF (OPENMESH_INCLUDE_DIRS) ENDIF (OPENMESH_INCLUDE_DIRS)
FIND_PATH(OPENMESH_INCLUDE_DIR OpenMesh/Core/Mesh/PolyMeshT.hh FIND_PATH(OPENMESH_INCLUDE_DIR OpenMesh/Core/Mesh/PolyMeshT.hh
PATHS /usr/local/include PATHS /usr/local/include
/usr/include /usr/include
"${CMAKE_SOURCE_DIR}/OpenMesh/src" "${CMAKE_SOURCE_DIR}/OpenMesh/src"
"${CMAKE_SOURCE_DIR}/../OpenMesh/src" "${CMAKE_SOURCE_DIR}/../OpenMesh/src"
/ACG/acgdev/gcc-4.0-x86_64/OM2/OpenMesh-2.0/installed/include /ACG/acgdev/gcc-4.0-x86_64/OM2/OpenMesh-2.0/installed/include
) "C:\Program Files\OpenMesh 2.0"
)
IF (OPENMESH_INCLUDE_DIR )
SET(OPENMESH_FOUND TRUE) IF (OPENMESH_INCLUDE_DIR )
SET(OPENMESH_LIBRARY_DIR "${OPENMESH_INCLUDE_DIR}/../lib/OpenMesh") SET(OPENMESH_FOUND TRUE)
SET(OPENMESH_LIBRARY "OpenMeshCore;OpenMeshTools") SET(OPENMESH_LIBRARY_DIR "${OPENMESH_INCLUDE_DIR}/../lib/OpenMesh")
ELSE (OPENMESH_INCLUDE_DIR) SET(OPENMESH_LIBRARY "OpenMeshCore;OpenMeshTools")
SET(OPENMESH_FOUND FALSE ) ELSE (OPENMESH_INCLUDE_DIR)
ENDIF (OPENMESH_INCLUDE_DIR ) SET(OPENMESH_FOUND FALSE )
ENDIF (OPENMESH_INCLUDE_DIR )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment