comment out debug messages

release/4.3a0
cbeall3 2014-05-28 23:05:31 -04:00
parent a16096276a
commit a7187f7e51
1 changed files with 5 additions and 5 deletions

View File

@ -114,17 +114,17 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex
# any static libraries # any static libraries
set(automaticDependencies "") set(automaticDependencies "")
foreach(lib ${moduleName} ${linkLibraries}) foreach(lib ${moduleName} ${linkLibraries})
message("MODULE NAME: ${moduleName}") #message("MODULE NAME: ${moduleName}")
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: START HACK. 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!!
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
list(APPEND automaticDependencies ${Boost_SERIALIZATION_LIBRARY_RELEASE} ${Boost_FILESYSTEM_LIBRARY_RELEASE} list(APPEND automaticDependencies ${Boost_SERIALIZATION_LIBRARY_RELEASE} ${Boost_FILESYSTEM_LIBRARY_RELEASE}
@ -138,8 +138,8 @@ function(wrap_library_internal interfaceHeader linkLibraries extraIncludeDirs ex
endif() endif()
endif() endif()
message("AUTOMATIC DEPENDENCIES: ${automaticDependencies}") #message("AUTOMATIC DEPENDENCIES: ${automaticDependencies}")
## CHRIS: END HACK ## CHRIS: End temporary fix
# Separate dependencies # Separate dependencies
set(correctedOtherLibraries "") set(correctedOtherLibraries "")