Skip to content

Commit

Permalink
apacheGH-35239: [MATLAB] Report error when building the MATLAB Interf…
Browse files Browse the repository at this point in the history
…ace to Arrow in Debug mode on Windows
  • Loading branch information
ShaiviAgarwal2 committed Jan 14, 2024
1 parent 32458b3 commit 098dcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ endif()
if(WIN32)
execute_process(COMMAND dumpbin /dependents ${Matlab_MAIN_PROGRAM} OUTPUT_VARIABLE DEPENDENTS)
if(DEPENDENTS MATCHES "MSVCP\\d+.dll")
message(FATAL_ERROR "Error: Building in Debug mode is not allowed because MATLAB is built with Release mode. Please switch to Release mode.")
message(FATAL_ERROR "You can't build this with Debug because MATLAB is built with Release. You must use Release")
endif()
endif()

Expand Down

0 comments on commit 098dcaf

Please sign in to comment.