early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/ampl-mp/disable-matlab-mex.patch
vendored
Executable file
13
externals/vcpkg/ports/ampl-mp/disable-matlab-mex.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/asl/CMakeLists.txt b/src/asl/CMakeLists.txt
|
||||
index b7d7ecf..c31a032 100644
|
||||
--- a/src/asl/CMakeLists.txt
|
||||
+++ b/src/asl/CMakeLists.txt
|
||||
@@ -59,7 +59,7 @@ endif ()
|
||||
|
||||
target_link_libraries(aslmp ${CMAKE_DL_LIBS})
|
||||
|
||||
-find_package(MATLAB)
|
||||
+set(MATLAB_FOUND)
|
||||
if (MATLAB_FOUND AND MATLAB_BUILD)
|
||||
set(matlab_asl asl)
|
||||
if (MSVC)
|
Reference in New Issue
Block a user