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

Update for OpenMesh finder and ACG finder included ... TODO: Make ACG build standalone

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6186 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cfc94b16
# - Try to find ACG
# Once done this will define
#
# ACG_FOUND - system has ACG
# ACG_INCLUDE_DIR - theACG include directory
# ACG_LIBRARY - Link these to use ACG
# ACG_LIBRARY_DIR - Library DIR of ACG
#
IF (ACG_INCLUDE_DIRS)
# Already in cache, be silent
SET(ACG_FIND_QUIETLY TRUE)
ENDIF (ACG_INCLUDE_DIRS)
FIND_PATH(ACG_INCLUDE_DIR QtWidgets/QtBaseViewer.hh
PATHS /usr/local/include
/usr/include
"${CMAKE_SOURCE_DIR}/ACG"
"${CMAKE_SOURCE_DIR}/../ACG"
)
IF (ACG_INCLUDE_DIR )
MESSAGE(STATUS blubb)
SET(ACG_FOUND TRUE)
# TODO: Set correct library path!!
#SET(ACG_LIBRARY_DIR "${ACG_INCLUDE_DIR}/../")
#SET(ACG_LIBRARY "OpenMeshCore OpenMeshTools")
ELSE (ACG_INCLUDE_DIR)
SET(ACG_FOUND FALSE )
ENDIF (ACG_INCLUDE_DIR )
......@@ -21,7 +21,7 @@ FIND_PATH(OPENMESH_INCLUDE_DIR OpenMesh/Core/Mesh/PolyMeshT.hh
IF (OPENMESH_INCLUDE_DIR )
SET(OPENMESH_FOUND TRUE)
SET(OPENMESH_LIBRARY_DIR "${OPENMESH_INCLUDE_DIR}../lib")
SET(OPENMESH_LIBRARY_DIR "${OPENMESH_INCLUDE_DIR}/../lib")
SET(OPENMESH_LIBRARY "OpenMeshCore OpenMeshTools")
ELSE (OPENMESH_INCLUDE_DIR)
SET(OPENMESH_FOUND FALSE )
......
Markdown is supported
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