Matlab CMake configuration fixes

parent 809fe795
......@@ -16,7 +16,7 @@ vista_use_package( NatNetSDK REQUIRED )
add_definitions( -DVABASE_DLL -DVANET_DLL -DVACORE_DLL )
set( VAMATLAB_SRC
set( VAMATLAB_SRC
"src/FunctionMappings.h"
"src/MatlabHelpers.h"
"src/MatlabHelpers.cpp"
......@@ -26,12 +26,13 @@ set( VAMATLAB_SRC
"src/VAMatlabTracking.h"
"src/VAMatlabTracking.cpp" )
add_executable( VAMatlab ${VAMATLAB_SRC} VAMatlab.def )
add_library( VAMatlab ${VAMATLAB_SRC} VAMatlab.def )
target_link_libraries( VAMatlab ${VISTA_USE_PACKAGE_LIBRARIES} )
vista_configure_app( VAMatlab )
vista_configure_lib( VAMatlab )
vista_install( VAMatlab )
vista_create_default_info_file( VAMatlab )
vista_create_cmake_configs( VAMatlab )
set_property( TARGET VAMatlab PROPERTY FOLDER "ITABindings" )
set_target_properties( VAMatlab PROPERTIES SUFFIX ".${Matlab_MEX_EXTENSION}")
set_target_properties( VAMatlab PROPERTIES SUFFIX ".${MATLAB_MEX_EXTENSION}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment