diff options
author | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2017-04-29 18:31:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-23 14:30:49 (GMT) |
commit | 59fb9e89b2bd09a2edd5bbaecb01f43d6f3a2a7e (patch) | |
tree | 05897534fca0be23f67df31938a4c237a51f4c98 /Tests/RunCMake/FindMatlab/MatlabTest1.cmake | |
parent | ccd17a557cbf8ada18207a72eea78d2adcc9d752 (diff) | |
download | CMake-59fb9e89b2bd09a2edd5bbaecb01f43d6f3a2a7e.zip CMake-59fb9e89b2bd09a2edd5bbaecb01f43d6f3a2a7e.tar.gz CMake-59fb9e89b2bd09a2edd5bbaecb01f43d6f3a2a7e.tar.bz2 |
FindMatlab: Matlab Runtime Compiler support
* 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
Diffstat (limited to 'Tests/RunCMake/FindMatlab/MatlabTest1.cmake')
-rw-r--r-- | Tests/RunCMake/FindMatlab/MatlabTest1.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindMatlab/MatlabTest1.cmake b/Tests/RunCMake/FindMatlab/MatlabTest1.cmake index 1cbc1c2..b4cc741 100644 --- a/Tests/RunCMake/FindMatlab/MatlabTest1.cmake +++ b/Tests/RunCMake/FindMatlab/MatlabTest1.cmake @@ -3,6 +3,9 @@ cmake_minimum_required (VERSION 2.8.12) enable_testing() project(test_should_fail) +if(NOT "${matlab_root}" STREQUAL "") + set(Matlab_ROOT_DIR ${matlab_root}) +endif() find_package(Matlab REQUIRED COMPONENTS MX_LIBRARY) matlab_add_mex( |