File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ if (LIBSERIALPORT_LIBRARIES AND LIBSERIALPORT_INCLUDE_DIR)
244244 message (WARNING "The installed version of libserialport is too old. The minimum version supported is 0.1.1. Disabling Serial support." )
245245 SET (WITH_SERIAL_BACKEND OFF )
246246 else ()
247+ message (STATUS "Looking for libserialport : Found" )
247248 list (APPEND LIBIIO_CFILES serial.c)
248249 list (APPEND LIBS_TO_LINK ${LIBSERIALPORT_LIBRARIES} )
249250
@@ -254,6 +255,8 @@ if (LIBSERIALPORT_LIBRARIES AND LIBSERIALPORT_INCLUDE_DIR)
254255 include_directories (${LIBSERIALPORT_INCLUDE_DIR} )
255256 endif ()
256257 endif ()
258+ else ()
259+ message (STATUS "Looking for libserialport : Failed; building without serial" )
257260endif ()
258261
259262include_directories (${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
You can’t perform that action at this time.
0 commit comments