Changed build locations so that the matlab module can be used in-place, without having to install

This commit is contained in:
hbristow
2013-06-23 13:54:54 -07:00
parent b0285d92b4
commit c8fdb2c1e0
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ foreach(SOURCE_FILE ${SOURCE_FILES})
execute_process(
COMMAND ${MATLAB_MEX_SCRIPT} ${MEX_OPTS} ${MEX_INCLUDE_DIRS_LIST}
${MEX_LIB_DIR} ${MEX_LIBS} ${SOURCE_FILE}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/+cv
ERROR_VARIABLE FAILED
)
# TODO: If a mex file fails to cmpile, should we error out?