You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
309 B
14 lines
309 B
enable_language(C)
|
|
enable_language(CXX)
|
|
enable_testing()
|
|
|
|
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)
|