Added TBB linking flags to wrap build script

release/4.3a0
Alex Cunningham 2013-08-15 17:44:17 +00:00
parent 7767f813e8
commit 591a43a343
2 changed files with 2 additions and 2 deletions

View File

@ -170,5 +170,5 @@ if (GTSAM_INSTALL_MATLAB_TOOLBOX)
# Macro to handle details of setting up targets
# FIXME: issue with dependency between wrap_gtsam and wrap_gtsam_build, only shows up on CMake 2.8.3
wrap_library(gtsam "${mexFlags}" "../" "")
wrap_library(gtsam "${mexFlags}" "../" "${TBB_LIBS}")
endif ()

View File

@ -124,7 +124,7 @@ if (GTSAM_INSTALL_MATLAB_TOOLBOX)
endif()
# Macro to handle details of setting up targets
wrap_library(gtsam_unstable "${mexFlags}" "./" gtsam)
wrap_library(gtsam_unstable "${mexFlags}" "./" "gtsam;${TBB_LIBS}")
endif(GTSAM_INSTALL_MATLAB_TOOLBOX)