kevingurney commented on code in PR #39595:
URL: https://github.com/apache/arrow/pull/39595#discussion_r1459581795
##########
matlab/CMakeLists.txt:
##########
@@ -131,6 +131,14 @@ if(NOT Arrow_FOUND)
build_arrow()
endif()
+# Check the Build mode on Windows
+if(WIN32)
+ string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_UPPER)
+ if(CMAKE_BUILD_TYPE_UPPER STREQUAL DEBUG)
+ message(FATAL_ERROR "You can't build this with Debug because MATLAB is
built with Release. You must use Release")
Review Comment:
```suggestion
message(FATAL_ERROR "Building the MATLAB interface in Debug mode is not
supported.")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]