Skip to content

Commit

Permalink
Merge pull request #2799 from taketwo/fix-using-pcl-tutorial
Browse files Browse the repository at this point in the history
Link with PCL_LIBRARIES, not PCL_***_LIBRARIES
  • Loading branch information
UnaNancyOwen authored Jan 22, 2019
2 parents 541dbb2 + 6a92e6b commit 99a5b28
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 99a5b28

Please sign in to comment.