accept suggestion by Mizux

This commit is contained in:
Andrea Sgattoni
2023-11-06 18:14:24 +01:00
parent 2637c36b59
commit 2b8e8ea7bb

View File

@@ -281,7 +281,7 @@ message(STATUS "CPLEX support: ${USE_CPLEX}")
## XPRESS
# Since it is dynamicaly loaded upon use, OFF is currently not supported.
CMAKE_DEPENDENT_OPTION(USE_XPRESS "Use the Xpress solver" ON "BUILD_CXX" OFF)
option(BUILD_XPRESS_TEST_AND_EXAMPLES "Build Xpress-specific tests" OFF)
CMAKE_DEPENDENT_OPTION(BUILD_XPRESS_TEST_AND_EXAMPLES "Build Xpress-specific tests" OFF "USE_XPRESS" OFF)
# Language specific options
if(BUILD_CXX)