Skip to content

Commit

Permalink
Link with PCL_LIBRARIES, not PCL_***_LIBRARIES
Browse files Browse the repository at this point in the history
  • Loading branch information
taketwo committed Jan 22, 2019
1 parent 784a2cd commit b82a8b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/tutorials/content/using_pcl_pcl_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CMakeLists.txt that contains:
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(pcd_write_test pcd_write.cpp)
target_link_libraries(pcd_write_test ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})
target_link_libraries(pcd_write_test ${PCL_LIBRARIES}
The explanation
---------------
Expand Down Expand Up @@ -97,7 +97,7 @@ Windows platform and blank on UNIX) and the permissions.

.. code-block:: cmake
target_link_libraries(pcd_write_test ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})
target_link_libraries(pcd_write_test ${PCL_LIBRARIES}
The executable we are building makes call to PCL functions. So far, we
have only included the PCL headers so the compilers knows about the
Expand Down

0 comments on commit b82a8b7

Please sign in to comment.