diff --git a/mex/CMakeLists.txt b/mex/CMakeLists.txt index 66bb1675d..2a1a66543 100644 --- a/mex/CMakeLists.txt +++ b/mex/CMakeLists.txt @@ -9,7 +9,7 @@ if (NOT BUILD_MEX) return() endif() -include(${CMAKE_SOURCE_DIR}/cmake/matlab.cmake REQUIRED) +include(matlab.cmake REQUIRED) option(BUILD_MEX_TESTS "Build matlab mex tests" ON) diff --git a/cmake/matlab.cmake b/mex/matlab.cmake similarity index 100% rename from cmake/matlab.cmake rename to mex/matlab.cmake