From 30c84eabe4e0fdb47265e9fcc51a0f8b9ff51e6a Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Wed, 24 Mar 2021 16:58:44 -0400 Subject: [PATCH] added CMake variable to set the matlab.h include --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fc456609..2fdadc68a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,8 @@ if(GTSAM_BUILD_PYTHON OR GTSAM_INSTALL_MATLAB_TOOLBOX) # Need to set this for the wrap package so we don't use the default value. set(WRAP_PYTHON_VERSION ${GTSAM_PYTHON_VERSION} CACHE STRING "The Python version to use for wrapping") + # Set the include directory for matlab.h + set(GTWRAP_INCLUDE_NAME "wrap") add_subdirectory(wrap) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/wrap/cmake") endif()