Skip to content

Commit

Permalink
Bug fix for Cmake installation (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
alindkhare authored Oct 31, 2023
1 parent a3d4a49 commit 19f46d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schedulers/tetrisched/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ FetchContent_MakeAvailable(googletest)

# Set the directories where the solver backends are installed.
if (DEFINED ENV{CPLEX_DIR})
set(CPLEX_DIR ENV{CPLEX_DIR})
set(CPLEX_DIR $ENV{CPLEX_DIR})
message("-- Using CPLEX installation at: ${CPLEX_DIR}")
else()
set(CPLEX_DIR "/opt/ibm/ILOG/CPLEX_Studio2211")
message("-- Using default CPLEX installation at: ${CPLEX_DIR}")
endif()

if (DEFINED ENV{GUROBI_DIR})
set(GUROBI_DIR ENV{GUROBI_DIR})
set(GUROBI_DIR $ENV{GUROBI_DIR})
message("-- Using Gurobi installation at: ${GUROBI_DIR}")
else()
set(GUROBI_DIR "/opt/gurobi1001/linux64")
message("-- Using default Gurobi installation at: ${GUROBI_DIR}")
endif()

if (DEFINED ENV{ORTOOLS_DIR})
set(ORTOOLS_DIR ENV{ORTOOLS_DIR})
set(ORTOOLS_DIR $ENV{ORTOOLS_DIR})
message("-- Using Google OR-Tools installation at: ${ORTOOLS_DIR}")
else()
set(ORTOOLS_DIR "/usr/local/include/ortools")
Expand Down

0 comments on commit 19f46d4

Please sign in to comment.