Commit 6b01bda5 authored by David Bommes's avatar David Bommes
Browse files

updated FindCoMISo

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12935 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1089ce57
......@@ -106,6 +106,21 @@ if ( COMISO_INCLUDE_DIR )
endif()
STRING(REGEX MATCH "\#define COMISO_GUROBI_AVAILABLE 1" COMISO_GUROBI_BUILD_TIME_AVAILABLE ${CURRENT_COMISO_CONFIG} )
if ( COMISO_GUROBI_BUILD_TIME_AVAILABLE )
find_package(GUROBI)
if ( NOT GUROBI_FOUND )
message(ERROR "COMISO configured with GUROBI but GUROBI not available")
endif()
list (APPEND COMISO_OPT_DEPS "GUROBI")
endif()
add_definitions (-DCOMISODLL -DUSECOMISO )
endif(COMISO_INCLUDE_DIR)
......
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