Skip to content
Snippets Groups Projects
Commit 13097ed9 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fix-FindGurobi-mac' into 'master'

FindGurobi: macos compat (find .dylib instead of .so)

See merge request !13
parents 9e180cdb 052b4fd5
No related branches found
No related tags found
1 merge request!13FindGurobi: macos compat (find .dylib instead of .so)
Pipeline #21740 failed
......@@ -25,13 +25,15 @@ set(GUROBI_LIB_DIR "${GUROBI_HOME}/lib")
if (WIN32)
file(GLOB GUROBI_LIBRARY_LIST
RELATIVE ${GUROBI_BIN_DIR}
${GUROBI_BIN_DIR}/gurobi*.dll
)
${GUROBI_BIN_DIR}/gurobi*.dll)
elseif(APPLE)
file(GLOB GUROBI_LIBRARY_LIST
RELATIVE ${GUROBI_LIB_DIR}
${GUROBI_LIB_DIR}/libgurobi*.dylib)
else()
file(GLOB GUROBI_LIBRARY_LIST
RELATIVE ${GUROBI_LIB_DIR}
${GUROBI_LIB_DIR}/libgurobi*.so
)
${GUROBI_LIB_DIR}/libgurobi*.so)
endif()
# Ignore libgurobiXY_light.so, libgurobi.so (without version):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment