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

Finder for IsoEx

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7410 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e01ce807
# - Try to find ISOEX
# Once done this will define
#
# ISOEX_FOUND - system has ISOEX
# ISOEX_INCLUDE_DIR - the ISOEX include directory
# ISOEX_LIBRARY_DIR - where the libraries are
# ISOEX_LIBRARY - Link these to use ISOEX
#
IF (ISOEX_INCLUDE_DIRS)
# Already in cache, be silent
SET(ISOEX_FIND_QUIETLY TRUE)
ENDIF (ISOEX_INCLUDE_DIRS)
FIND_PATH( ISOEX_INCLUDE_DIRS IsoEx/Extractors/MarchingCubesT.hh
PATHS "${CMAKE_SOURCE_DIR}/libs" )
add_definitions (-DISOEXDLL -DUSEISOEX )
IF (ISOEX_INCLUDE_DIRS)
SET(ISOEX_FOUND TRUE)
SET( ISOEX_LIBRARY_DIR "${ACG_PROJECT_LIBDIR}" )
SET( ISOEX_LIBRARY "IsoEx")
list (APPEND ISOEX_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/libs/IsoEx")
ELSE (ISOEX_INCLUDE_DIRS)
SET( ISOEX_FOUND FALSE )
SET( ISOEX_LIBRARY_DIR )
ENDIF (ISOEX_INCLUDE_DIRS)
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