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

Added path for ACG finder

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7552 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e584b0bc
...@@ -12,6 +12,8 @@ IF (ACG_INCLUDE_DIRS) ...@@ -12,6 +12,8 @@ IF (ACG_INCLUDE_DIRS)
SET(ACG_FIND_QUIETLY TRUE) SET(ACG_FIND_QUIETLY TRUE)
ENDIF (ACG_INCLUDE_DIRS) ENDIF (ACG_INCLUDE_DIRS)
#SET(ACG_LIBRARY_DIR "" CACHE INTERNAL "Path to ACG Library")
FIND_PATH(ACG_INCLUDE_DIR ACG/QtWidgets/QtBaseViewer.hh FIND_PATH(ACG_INCLUDE_DIR ACG/QtWidgets/QtBaseViewer.hh
PATHS /usr/local/include PATHS /usr/local/include
/usr/include /usr/include
...@@ -21,10 +23,12 @@ FIND_PATH(ACG_INCLUDE_DIR ACG/QtWidgets/QtBaseViewer.hh ...@@ -21,10 +23,12 @@ FIND_PATH(ACG_INCLUDE_DIR ACG/QtWidgets/QtBaseViewer.hh
) )
IF (ACG_INCLUDE_DIR ) IF (ACG_INCLUDE_DIR )
SET(ACG_FOUND TRUE) SET(ACG_FOUND TRUE)
# TODO: Set correct library path!! # TODO: Set correct library path!!
#SET(ACG_LIBRARY_DIR "${ACG_INCLUDE_DIR}/../") SET(ACG_LIBRARY_DIR "${ACG_INCLUDE_DIR}/../lib/" CACHE PATH "Path to ACG Library")
#SET(ACG_LIBRARY "OpenMeshCore OpenMeshTools") SET(ACG_LIBRARY "ACG")
ELSE (ACG_INCLUDE_DIR) ELSE (ACG_INCLUDE_DIR)
SET(ACG_FOUND FALSE ) SET(ACG_FOUND FALSE )
ENDIF (ACG_INCLUDE_DIR ) ENDIF (ACG_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