Skip to content

Commit

Permalink
use CURL::libcurl instead of in cmakelists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw committed Jul 17, 2024
1 parent e93cb60 commit 837d4c4
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 @@ -25,7 +25,7 @@ catkin_package(
INCLUDE_DIRS include)

add_library(${PROJECT_NAME} src/retriever.cpp)
target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES} ${catkin_LIBRARIES})
target_link_libraries(${PROJECT_NAME} CURL::libcurl ${catkin_LIBRARIES})

if(CATKIN_ENABLE_TESTING)
add_subdirectory(test EXCLUDE_FROM_ALL)
Expand Down

0 comments on commit 837d4c4

Please sign in to comment.