FIND_PATH(DBoW2_INCLUDE_DIR DBoW2.h PATHS "@CMAKE_INSTALL_PREFIX@/include/@PROJECT_NAME@" ) find_library(DBoW2_LIBRARY_REL NAMES dbow2 DBoW2 PATHS "@CMAKE_INSTALL_PREFIX@/lib") find_library(DBoW2_LIBRARY_DBG NAMES dbow2_d DBoW2_d DBoW2d DBoW2 PATHS "@CMAKE_INSTALL_PREFIX@/lib") SET(DBoW2_LIBRARIES debug ${DBoW2_LIBRARY_DBG} optimized ${DBoW2_LIBRARY_REL}) SET(DBoW2_LIBS ${DBoW2_LIBRARIES}) SET(DBoW2_LIBRARY ${DBoW2_LIBRARIES}) SET(DBoW2_INCLUDE_DIRS ${DBoW2_INCLUDE_DIR})