pineapple/externals/vcpkg/ports/ampl-mp/disable-matlab-mex.patch

14 lines
340 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
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)