Commit d32449ed authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

trying to debug cmake find file

parent 04601370
...@@ -56,8 +56,8 @@ if (falkolib_FOUND) ...@@ -56,8 +56,8 @@ if (falkolib_FOUND)
target_sources(publisher_${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/publisher_falko.cpp) target_sources(publisher_${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/publisher_falko.cpp)
endif() endif()
find_file(ICP wolflaser_INCLUDE_DIRS laser/processor/processor_odom_icp.h) find_file(ICP laser/processor/processor_odom_icp.h wolflaser_INCLUDE_DIRS)
if (NOT ICP_NOTFOUND) if (NOT ICP)
message("Found 'processor_odom_icp.h'. Compiling publisher_odom_icp.") message("Found 'processor_odom_icp.h'. Compiling publisher_odom_icp.")
target_sources(publisher_${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/publisher_odom_icp.cpp) target_sources(publisher_${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src/publisher_odom_icp.cpp)
endif () endif ()
...@@ -66,6 +66,7 @@ endif () ...@@ -66,6 +66,7 @@ endif ()
target_link_libraries(subscriber_${PROJECT_NAME} target_link_libraries(subscriber_${PROJECT_NAME}
wolfcore wolfcore
wolflaser wolflaser
${catkin_LIBRARIES}
) )
target_link_libraries(publisher_${PROJECT_NAME} target_link_libraries(publisher_${PROJECT_NAME}
wolfcore wolfcore
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment