patch by wjwwood to fix collada_parser linking problem on OSX. #5138

This commit is contained in:
Wim Meeussen 2011-08-31 15:07:19 -07:00
parent d5ebb700e5
commit 815f972907
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ endif()
#common commands for building c++ executables and libraries #common commands for building c++ executables and libraries
rosbuild_add_library(${PROJECT_NAME} src/collada_parser.cpp) rosbuild_add_library(${PROJECT_NAME} src/collada_parser.cpp)
if(APPLE)
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
endif(APPLE)
#target_link_libraries(${PROJECT_NAME} another_library) #target_link_libraries(${PROJECT_NAME} another_library)
rosbuild_add_boost_directories() rosbuild_add_boost_directories()
#rosbuild_link_boost(${PROJECT_NAME} thread) #rosbuild_link_boost(${PROJECT_NAME} thread)