Skip to content

Commit

Permalink
Use cmake find_package(yaml-cpp) (ros-visualization#1445)
Browse files Browse the repository at this point in the history
... instead of pkg-config
  • Loading branch information
ahoarau authored and rhaschke committed Nov 21, 2019
1 parent fac45a7 commit 9b3585a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rviz/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pkg_check_modules(YAMLCPP REQUIRED yaml-cpp>=0.5)
find_package(yaml-cpp REQUIRED)

if(UNIX AND NOT APPLE)
find_package(X11 REQUIRED)
Expand Down Expand Up @@ -144,7 +144,7 @@ target_link_libraries(${PROJECT_NAME}
${TinyXML2_LIBRARIES}
${X11_X11_LIB}
${ASSIMP_LIBRARIES}
${YAMLCPP_LIBRARIES}
${YAML_CPP_LIBRARIES}
)


Expand Down

0 comments on commit 9b3585a

Please sign in to comment.