Browse Source

added new gurobi version to find script

tempestpy_adaptions
dehnert 7 years ago
parent
commit
a5bc5d30e5
  1. 15
      resources/cmake/find_modules/FindGurobi.cmake

15
resources/cmake/find_modules/FindGurobi.cmake

@ -25,9 +25,7 @@ find_path(GUROBI_INCLUDE_DIR
"/Library/gurobi651/mac64/include"
"/Library/gurobi652/mac64/include"
"/Library/gurobi702/mac64/include"
"C:\\libs\\gurobi502\\include"
"C:\\gurobi600\\win64\\include"
"${GUROBI_ROOT}/include"
"${GUROBI_ROOT}/include"
)
find_library( GUROBI_LIBRARY
@ -42,6 +40,7 @@ find_library( GUROBI_LIBRARY
gurobi60
gurobi65
gurobi70
gurobi75
PATHS "$ENV{GUROBI_HOME}/lib"
"/Library/gurobi502/mac64/lib"
"/Library/gurobi602/mac64/lib"
@ -51,9 +50,7 @@ find_library( GUROBI_LIBRARY
"/Library/gurobi651/mac64/lib"
"/Library/gurobi652/mac64/lib"
"/Library/gurobi702/mac64/lib"
"C:\\libs\\gurobi502\\lib"
"C:\\gurobi600\\win64\\lib"
"${GUROBI_ROOT}/lib"
"${GUROBI_ROOT}/lib"
)
find_library( GUROBI_CXX_LIBRARY
@ -67,9 +64,7 @@ find_library( GUROBI_CXX_LIBRARY
"/Library/gurobi651/mac64/lib"
"/Library/gurobi652/mac64/lib"
"/Library/gurobi702/mac64/lib"
"C:\\libs\\gurobi502\\lib"
"C:\\gurobi600\\win64\\lib"
"${GUROBI_ROOT}/lib"
"${GUROBI_ROOT}/lib"
)
set(GUROBI_INCLUDE_DIRS "${GUROBI_INCLUDE_DIR}" )
@ -86,4 +81,4 @@ find_package_handle_standard_args(GUROBI DEFAULT_MSG
mark_as_advanced(GUROBI_INCLUDE_DIR GUROBI_LIBRARY GUROBI_CXX_LIBRARY)
endif(GUROBI_INCLUDE_DIR)
endif(GUROBI_INCLUDE_DIR)
Loading…
Cancel
Save