include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
aux_include_directory(. HDRS)
aux_source_directory(. SRCS)
add_to_ydlidar_headers(${HDRS})
add_to_ydlidar_sources(${SRCS})

IF (WIN32)
add_to_ydlidar_libraries(Winmm)
ELSE()                   
add_to_ydlidar_libraries(pthread)
ENDIF()                                      
