From f52db1eadc8dfaed097a2436819829d867ac9324 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Thu, 11 Jul 2019 14:23:14 +0200 Subject: [PATCH] undo whitespace changes --- cmake/GtsamMatlabWrap.cmake | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cmake/GtsamMatlabWrap.cmake b/cmake/GtsamMatlabWrap.cmake index fd6d4bed5..28b3dac2c 100644 --- a/cmake/GtsamMatlabWrap.cmake +++ b/cmake/GtsamMatlabWrap.cmake @@ -101,7 +101,7 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex set(compiled_mex_modules_root "${PROJECT_BINARY_DIR}/wrap/${moduleName}_mex") message(STATUS "Building wrap module ${moduleName}") - + # Find matlab.h in GTSAM if("${PROJECT_NAME}" STREQUAL "gtsam") set(matlab_h_path "${PROJECT_SOURCE_DIR}") @@ -119,15 +119,14 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex set(automaticDependencies "") foreach(lib ${moduleName} ${linkLibraries}) #message("MODULE NAME: ${moduleName}") - #message("lib: ${lib}") if(TARGET "${lib}") get_target_property(dependentLibraries ${lib} INTERFACE_LINK_LIBRARIES) - #message("DEPENDENT LIBRARIES: ${dependentLibraries}") - if(dependentLibraries) - list(APPEND automaticDependencies ${dependentLibraries}) + # message("DEPENDENT LIBRARIES: ${dependentLibraries}") + if(dependentLibraries) + list(APPEND automaticDependencies ${dependentLibraries}) endif() endif() - endforeach() + endforeach() ## CHRIS: Temporary fix. On my system the get_target_property above returned Not-found for gtsam module ## This needs to be fixed!!