mirror of
https://github.com/reactos/CMake.git
synced 2025-02-14 16:38:42 +00:00
![Raffi Enficiaud](/assets/img/avatar_default.png)
* Determining automatically the MCR version on OSX and Windows * Distinguishing between MCR and Matlab * Specific tests for the MCR * mexext on windows does not work properly: the mexext is hardcoded * Doc updates for the MCR Fixes: #16487
14 lines
344 B
CMake
14 lines
344 B
CMake
cmake_minimum_required (VERSION 2.8.12)
|
|
enable_testing()
|
|
project(findmatlab_runcmake_test2)
|
|
|
|
if(NOT DEFINED matlab_required)
|
|
set(matlab_required REQUIRED)
|
|
endif()
|
|
|
|
if(NOT DEFINED Matlab_ROOT_DIR AND NOT "${matlab_root}" STREQUAL "")
|
|
set(Matlab_ROOT_DIR ${matlab_root})
|
|
endif()
|
|
|
|
find_package(Matlab ${matlab_required} COMPONENTS MX_LIBRARY)
|