Merge pull request #108 from k-okada/fix_pcrecpp2

link libpcrecpp before other libraries
This commit is contained in:
Ioan A Sucan 2015-05-02 07:46:58 -07:00
commit 6534424a2c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ include_directories(
link_directories(${catkin_LIBRARY_DIRS})
add_library(${PROJECT_NAME} src/model.cpp src/rosconsole_bridge.cpp)
target_link_libraries(${PROJECT_NAME} ${TinyXML_LIBRARIES} ${catkin_LIBRARIES} ${urdfdom_LIBRARIES} ${libpcrecpp_LIBRARIES})
target_link_libraries(${PROJECT_NAME} ${libpcrecpp_LIBRARIES} ${TinyXML_LIBRARIES} ${catkin_LIBRARIES} ${urdfdom_LIBRARIES})
if(APPLE)
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")