diff --git a/resources/cmake/find_modules/FindGUROBI.cmake b/resources/cmake/find_modules/FindGUROBI.cmake index a0e1f09d1..f2a71cf56 100644 --- a/resources/cmake/find_modules/FindGUROBI.cmake +++ b/resources/cmake/find_modules/FindGUROBI.cmake @@ -18,6 +18,8 @@ else (GUROBI_INCLUDE_DIR) find_path(GUROBI_INCLUDE_DIR NAMES gurobi_c++.h PATHS "$ENV{GUROBI_HOME}/include" + "/Library/gurobi912/mac64/include" + "/Library/gurobi911/mac64/include" "/Library/gurobi900/mac64/include" "/Library/gurobi811/mac64/include" "/Library/gurobi810/mac64/include" @@ -35,6 +37,7 @@ find_path(GUROBI_INCLUDE_DIR find_library( GUROBI_LIBRARY NAMES gurobi + gurobi91 gurobi90 gurobi81 gurobi80 @@ -51,6 +54,8 @@ find_library( GUROBI_LIBRARY gurobi45 PATHS "$ENV{GUROBI_HOME}/lib" + "/Library/gurobi912/mac64/lib" + "/Library/gurobi911/mac64/lib" "/Library/gurobi900/mac64/lib" "/Library/gurobi811/mac64/lib" "/Library/gurobi810/mac64/lib" @@ -70,6 +75,8 @@ find_library( GUROBI_CXX_LIBRARY NAMES gurobi_c++ PATHS "$ENV{GUROBI_HOME}/lib" + "/Library/gurobi912/mac64/lib" + "/Library/gurobi911/mac64/lib" "/Library/gurobi900/mac64/lib" "/Library/gurobi811/mac64/lib" "/Library/gurobi810/mac64/lib"