Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Dec 9, 2023
1 parent 3d117f3 commit 6585d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_library(${PROJECT_NAME} ${${PROJECT_NAME}_SRC} ${${PROJECT_NAME}_HDR})
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_VERSION}
PUBLIC_HEADER "${${PROJECT_NAME}_HDR}")

target_link_libraries(${PROJECT_NAME} PUBLIC ${YARP_LIBRARIES} PRIVATE ${OpenCV_LIBRARIES})
target_link_libraries(${PROJECT_NAME} PUBLIC ${YARP_LIBRARIES} PRIVATE ${OpenCV_LIBS})

target_include_directories(${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}>")
Expand Down

0 comments on commit 6585d2a

Please sign in to comment.