Commit 356a0c1e authored by David Bommes's avatar David Bommes

set boost finder to quiet

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@202 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 7c075063
......@@ -5,15 +5,13 @@
# 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)
# in cache already
set(COMISO_FOUND TRUE)
SET( COMISO_LIBRARY_DIR "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_LIBDIR}" )
SET( COMISO_LIBRARY "CoMISo")
else (COMISO_INCLUDE_DIR)
IF (COMISO_INCLUDE_DIR)
# Already in cache, be silent
SET(COMISO_FIND_QUIETLY TRUE)
ENDIF (COMISO_INCLUDE_DIR)
# Find CoMISo config file
FIND_PATH( COMISO_INCLUDE_DIR CoMISo/Config/config.hh
......@@ -44,7 +42,7 @@ if ( COMISO_INCLUDE_DIR )
if ( COMISO_BOOST_BUILD_TIME_AVAILABLE )
find_package( Boost 1.42.0 COMPONENTS system filesystem regex )
find_package( Boost 1.42.0 COMPONENTS system filesystem regex QUIET)
if ( NOT Boost_FOUND )
message(ERROR "COMISO configured with Boost but Boost not available")
......@@ -219,13 +217,11 @@ IF (COMISO_INCLUDE_DIR)
SET( COMISO_LIBRARY_DIR "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_LIBDIR}" )
SET( COMISO_LIBRARY "CoMISo")
# SET( COMISO_DEPS "GMM;BLAS;SUITESPARSE" )
SET( COMISO_DEPS "GMM" CACHE STRING "Comiso dependecies")
SET( COMISO_OPT_DEPS ${COMISO_OPT_DEPS} CACHE STRING "Comiso optional dependecies")
mark_as_advanced(COMISO_DEPS COMISO_OPT_DEPS)
SET( COMISO_DEPS "GMM")
# SET( COMISO_OPT_DEPS ${COMISO_OPT_DEPS} CACHE STRING "Comiso optional dependecies")
# mark_as_advanced(COMISO_DEPS COMISO_OPT_DEPS)
ELSE (COMISO_INCLUDE_DIR)
SET( COMISO_FOUND FALSE )
SET( COMISO_LIBRARY_DIR )
ENDIF (COMISO_INCLUDE_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