Fixed #1268. Fixed ui warnings of labels with same name.

This commit is contained in:
matlabbe
2024-04-27 14:58:33 -07:00
parent 27dea71398
commit 99c4612c64
2 changed files with 19 additions and 14 deletions

View File

@@ -539,6 +539,11 @@ IF(WITH_POINTMATCHER)
message(STATUS "libnabo found, version ${libnabo_VERSION} (Config mode)")
SET(libpointmatcher_LIBRARIES "${libpointmatcher_LIBRARIES};libnabo::nabo")
ENDIF(value EQUAL -1)
string(FIND "${libpointmatcher_LIBRARIES}" "yaml-cpp::yaml-cpp" value)
IF(NOT value EQUAL -1)
# Find yaml-cpp (Issue #1268):
find_package(yaml-cpp QUIET)
ENDIF(NOT value EQUAL -1)
ENDIF(libpointmatcher_FOUND)
ENDIF(WITH_POINTMATCHER)