Commit acf09022 authored by Mike Kremer's avatar Mike Kremer

Integrated ADOLC into CoMISo.

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@176 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 401001d6
......@@ -60,6 +60,17 @@ else()
message (FATAL_ERROR "BLAS not found!")
endif ()
find_package (ADOLC)
if (ADOLC_FOUND)
set (COMISO_ADOLC_CONFIG_FILE_SETTINGS "#define COMISO_ADOLC_AVAILABLE 1" )
list( APPEND COMISO_INCLUDE_DIRECTORIES ${ADOLC_INCLUDE_DIRS} )
list( APPEND COMISO_LINK_DIRECTORIES ${ADOLC_LIBRARY_DIRS} )
list( APPEND COMISO_LINK_LIBRARIES ${ADOLC_LIBRARIES} )
else ()
set (COMISO_ADOLC_CONFIG_FILE_SETTINGS "#define COMISO_ADOLC_AVAILABLE 0" )
message (STATUS "ADOLC not found!")
endif ()
find_package (SUITESPARSE)
if (SUITESPARSE_FOUND )
set (COMISO_SUITESPARSE_CONFIG_FILE_SETTINGS "#define COMISO_SUITESPARSE_AVAILABLE 1" )
......
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