Commit 2068642d authored by Henrik Zimmer's avatar Henrik Zimmer

added finder

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@10 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent f78d42bf
# - Try to find COMISO
# Once done this will define
#
# COMISO_FOUND - system has COMISO
# COMISO_INCLUDE_DIR - the COMISO include directory
# COMISO_LIBRARY_DIR - where the libraries are
# COMISO_LIBRARY - Link these to use COMISO
#
IF (COMISO_INCLUDE_DIR)
# Already in cache, be silent
SET(COMISO_FIND_QUIETLY TRUE)
ENDIF (COMISO_INCLUDE_DIR)
FIND_PATH( COMISO_INCLUDE_DIR CoMISo/Config/CoMISoDefines.hh
PATHS "${CMAKE_SOURCE_DIR}/libs/" "${CMAKE_SOURCE_DIR}/.." )
add_definitions (-DCOMISODLL -DUSECOMISO )
IF (COMISO_INCLUDE_DIR)
SET(COMISO_FOUND TRUE)
SET( COMISO_LIBRARY_DIR "${ACG_PROJECT_LIBDIR}" )
SET( COMISO_LIBRARY "CoMISo")
ELSE (COMISO_INCLUDE_DIR)
SET( COMISO_FOUND FALSE )
SET( COMISO_LIBRARY_DIR )
ENDIF (COMISO_INCLUDE_DIR)
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