Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iCub config #670

Merged
merged 1 commit into from
Jul 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions conf/ICUBConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
set(ICUB_VERSION @PACKAGE_VERSION@)

if(DEFINED YARP_LIBRARIES)
set(_temp_yarp_libs ${YARP_LIBRARIES})
endif()

@PACKAGE_INIT@

@PACKAGE_DEPENDENCIES@
Expand Down Expand Up @@ -37,3 +41,8 @@ set(ICUB_CONTEXTS_INSTALL_DIR "@ICUB_CONTEXTS_INSTALL_DIR@")

# Add the folder with the CMake files to the CMAKE_MODULE_PATH of the imported target scope
list(APPEND CMAKE_MODULE_PATH ${ICUB_MODULE_PATH})

if(DEFINED _temp_yarp_libs)
list(APPEND YARP_LIBRARIES ${_temp_yarp_libs})
list(REMOVE_DUPLICATES YARP_LIBRARIES)
endif()