diff --git a/code/cmake/FindGUROBI.cmake b/code/cmake/FindGUROBI.cmake index cfa2863..a62acfc 100755 --- a/code/cmake/FindGUROBI.cmake +++ b/code/cmake/FindGUROBI.cmake @@ -51,40 +51,38 @@ if (NOT GUROBI_FOUND) "/Library/gurobi1200/macos_universal2/include" "/Library/gurobi1003/macos_universal2/include" "/Library/gurobi952/macos_universal2/include" - "/home/liangliang/dev/gurobi952/include" + "/home/geo3d/dev/gurobi1200/include" "D:\\dev\\Gurobi-10.0.3\\win64\\include" - "D:\\dev\\Gurobi-9.5.2\\win64\\include" - ) + ) set(SEARCH_PATHS_FOR_LIBRARIES "$ENV{GUROBI_HOME}/lib" "/Library/gurobi1200/macos_universal2/lib" "/Library/gurobi1003/macos_universal2/lib" "/Library/gurobi952/macos_universal2/lib" - "/home/liangliang/dev/gurobi952/lib" + "/home/geo3d/dev/gurobi1200/lib" "D:\\dev\\Gurobi-10.0.3\\win64\\lib" - "D:\\dev\\Gurobi-9.5.2\\win64\\lib" - ) + ) find_path(GUROBI_INCLUDE_DIR gurobi_c++.h PATHS ${SEARCH_PATHS_FOR_HEADERS} - ) + ) find_library(GUROBI_C_LIBRARY NAMES gurobi120 gurobi100 libgurobi PATHS ${SEARCH_PATHS_FOR_LIBRARIES} - ) + ) find_library(GUROBI_CXX_LIBRARY_DEBUG NAMES gurobi_c++ gurobi_c++mdd2017 PATHS ${SEARCH_PATHS_FOR_LIBRARIES} - ) + ) find_library(GUROBI_CXX_LIBRARY_RELEASE NAMES gurobi_c++ gurobi_c++md2017 PATHS ${SEARCH_PATHS_FOR_LIBRARIES} - ) + ) # setup header file directories set(GUROBI_INCLUDE_DIRS ${GUROBI_INCLUDE_DIR}) @@ -94,7 +92,7 @@ if (NOT GUROBI_FOUND) debug ${GUROBI_CXX_LIBRARY_DEBUG} optimized ${GUROBI_CXX_LIBRARY_RELEASE} ${GUROBI_C_LIBRARY} - ) + ) endif () @@ -111,4 +109,4 @@ mark_as_advanced( GUROBI_CXX_LIBRARY_DEBUG GUROBI_CXX_LIBRARY_RELEASE GUROBI_C_LIBRARY -) +) \ No newline at end of file