# Find Lime Suite if (NOT LIMESUITE_INCLUDE_DIR) find_path (LIMESUITE_INCLUDE_DIR NAMES lime/LimeSuite.h HINTS ${LIMESUITE_DIR}/include PATHS /usr/include /usr/local/include ) endif() if (NOT LIMESUITE_LIBRARY) find_library (LIMESUITE_LIBRARY NAMES LimeSuite HINTS ${LIMESUITE_DIR}/lib ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/lib64 PATHS /usr/local/lib /usr/local/lib64 /usr/lib /usr/lib64 ) endif() if (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY) set(LIMESUITE_FOUND TRUE) endif (LIMESUITE_INCLUDE_DIR AND LIMESUITE_LIBRARY) if (LIMESUITE_FOUND) message (STATUS "Found Lime Suite: ${LIMESUITE_INCLUDE_DIR}, ${LIMESUITE_LIBRARY}") find_file(LIMERFE_INCLUDE_FILE name lime/limeRFE.h HINTS ${LIMESUITE_INCLUDE_DIR} ) else (LIMESUITE_FOUND) message (STATUS "Could not find Lime Suite") endif (LIMESUITE_FOUND) if (LIMERFE_INCLUDE_FILE) set(LIMERFE_FOUND TRUE) message (STATUS "Lime Suite has LimeRFE support: ${LIMERFE_INCLUDE_FILE}") else() message (STATUS "Lime Suite has not LimeRFE support") endif() mark_as_advanced(LIMESUITE_INCLUDE_DIR LIMESUITE_LIBRARY)