undo whitespace changes
parent
2cf4514e81
commit
f52db1eadc
|
@ -101,7 +101,7 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex
|
||||||
set(compiled_mex_modules_root "${PROJECT_BINARY_DIR}/wrap/${moduleName}_mex")
|
set(compiled_mex_modules_root "${PROJECT_BINARY_DIR}/wrap/${moduleName}_mex")
|
||||||
|
|
||||||
message(STATUS "Building wrap module ${moduleName}")
|
message(STATUS "Building wrap module ${moduleName}")
|
||||||
|
|
||||||
# Find matlab.h in GTSAM
|
# Find matlab.h in GTSAM
|
||||||
if("${PROJECT_NAME}" STREQUAL "gtsam")
|
if("${PROJECT_NAME}" STREQUAL "gtsam")
|
||||||
set(matlab_h_path "${PROJECT_SOURCE_DIR}")
|
set(matlab_h_path "${PROJECT_SOURCE_DIR}")
|
||||||
|
@ -119,15 +119,14 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex
|
||||||
set(automaticDependencies "")
|
set(automaticDependencies "")
|
||||||
foreach(lib ${moduleName} ${linkLibraries})
|
foreach(lib ${moduleName} ${linkLibraries})
|
||||||
#message("MODULE NAME: ${moduleName}")
|
#message("MODULE NAME: ${moduleName}")
|
||||||
#message("lib: ${lib}")
|
|
||||||
if(TARGET "${lib}")
|
if(TARGET "${lib}")
|
||||||
get_target_property(dependentLibraries ${lib} INTERFACE_LINK_LIBRARIES)
|
get_target_property(dependentLibraries ${lib} INTERFACE_LINK_LIBRARIES)
|
||||||
#message("DEPENDENT LIBRARIES: ${dependentLibraries}")
|
# message("DEPENDENT LIBRARIES: ${dependentLibraries}")
|
||||||
if(dependentLibraries)
|
if(dependentLibraries)
|
||||||
list(APPEND automaticDependencies ${dependentLibraries})
|
list(APPEND automaticDependencies ${dependentLibraries})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
## CHRIS: Temporary fix. On my system the get_target_property above returned Not-found for gtsam module
|
## CHRIS: Temporary fix. On my system the get_target_property above returned Not-found for gtsam module
|
||||||
## This needs to be fixed!!
|
## This needs to be fixed!!
|
||||||
|
|
Loading…
Reference in New Issue