Skip to content

Commit

Permalink
Modification d'erreur de frappe
Browse files Browse the repository at this point in the history
Contrairement au script shell, l'accès aux variables en CMake se fait
via des accolades.

$(VARIABLE) -> incorrect
${VARIABLE} -> correct
  • Loading branch information
MartH76 authored and Taumille committed Nov 1, 2023
1 parent 4de98a3 commit ede338c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ include_directories(
add_executable(nav_node src/nav_node.cpp src/pstar.cpp)
install(TARGETS
nav_node
DESTINATION lib/$(PROJECT_NAME))
DESTINATION lib/${PROJECT_NAME})

ament_target_dependencies(nav_node rclcpp std_msgs geometry_msgs cdf_msgs)

Expand Down

0 comments on commit ede338c

Please sign in to comment.