Skip to content
Snippets Groups Projects
Commit 96c5f1d8 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch 'cmake_fix' into 'master'

Nested handling of optional libs opencv and vision_utils

See merge request mobile_robotics/wolf!226
parents 0b64f392 234bb3a1
No related branches found
No related tags found
1 merge request!226Nested handling of optional libs opencv and vision_utils
......@@ -517,10 +517,13 @@ IF (raw_gps_utils_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${raw_gps_utils_LIBRARY})
ENDIF (raw_gps_utils_FOUND)
IF (vision_utils_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${vision_utils_LIBRARY})
IF (OPENCV_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${OpenCV_LIBS})
ENDIF (vision_utils_FOUND)
IF (vision_utils_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${vision_utils_LIBRARY})
ENDIF (vision_utils_FOUND)
ENDIF (OPENCV_FOUND)
IF (YAMLCPP_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${YAMLCPP_LIBRARY})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment