undo whitespace changes

release/4.3a0
Jose Luis Blanco-Claraco 2019-07-11 14:23:14 +02:00
parent 2cf4514e81
commit f52db1eadc
No known key found for this signature in database
GPG Key ID: D443304FBD70A641
1 changed files with 5 additions and 6 deletions

View File

@ -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!!