mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
f60e86b19c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
8 lines
229 B
CMake
8 lines
229 B
CMake
if(FTDISUPPORT)
|
|
message(STATUS "building with libftdi support")
|
|
pkg_config_library(LIBFTDI libftdi QUIET)
|
|
if (NOT LIBFTDI_FOUND)
|
|
pkg_config_library(LIBFTDI libftdi1 REQUIRED)
|
|
endif()
|
|
add_definitions(-DSERIAL_FTDI)
|
|
endif()
|