diff --git a/src/karmaToolFinder/CMakeLists.txt b/src/karmaToolFinder/CMakeLists.txt index 6f5e032..84d2865 100644 --- a/src/karmaToolFinder/CMakeLists.txt +++ b/src/karmaToolFinder/CMakeLists.txt @@ -25,6 +25,6 @@ include_directories(${IPOPT_INCLUDE_DIRS}) add_executable(${PROJECT_NAME} ${folder_source}) target_compile_definitions(${PROJECT_NAME} PRIVATE ${IPOPT_DEFINITIONS}) set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS " ${IPOPT_LINK_FLAGS}") -target_link_libraries(${PROJECT_NAME} ${YARP_LIBRARIES} ${IPOPT_LIBRARIES} ${OpenCV_LIBRARIES}) +target_link_libraries(${PROJECT_NAME} ${YARP_LIBRARIES} ${IPOPT_LIBRARIES} ${OpenCV_LIBS}) install(TARGETS ${PROJECT_NAME} DESTINATION bin)