Commit b9a37aa9 authored by Jan Möbius's avatar Jan Möbius

config file generation

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@53 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 40c5efff
......@@ -148,3 +148,20 @@ endif(NOT APPLE)
# display results
acg_print_configure_header (COMISO "CoMISo")
if ( SUITESPARSE_FOUND )
set (COMISO_SUITESPARSE_COFIG_FILE_SETTINGS "#define COMISO_ENABLE_SUITESPARSE" )
else ()
set (COMISO_SUITESPARSE_COFIG_FILE_SETTINGS "#define COMISO_DISABLE_SUITESPARSE" )
endif ()
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/Config/config.hh.in"
"${CMAKE_CURRENT_SOURCE_DIR}/Config/config.hh" @ONLY IMMEDIATE)
// Build time dependencies for CoMiso
@COMISO_SUITESPARSE_COFIG_FILE_SETTINGS@
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