Remove no longer needed FindQextSerialPort.cmake, adapt comment

parent 6565af00
# QEXTSERIALPORT_FOUND - system has the QextSerialPort library
# QEXTSERIALPORT_INCLUDE_DIR - the QextSerialPort include directory
# QEXTSERIALPORT_LIBRARIES - The libraries needed to use QextSerialPort
if(QEXTSERIALPORT_INCLUDE_DIR AND QEXTSERIALPORT_LIBRARIES)
set(QEXTSERIALPORT_FOUND TRUE)
else(QEXTSERIALPORT_INCLUDE_DIR AND QEXTSERIALPORT_LIBRARIES)
find_path(QEXTSERIALPORT_INCLUDE_DIR NAMES qextserialport.h PATH_SUFFIXES QtExtSerialPort HINTS ${Qt5Core_INCLUDE_DIRS})
find_library(QEXTSERIALPORT_LIBRARIES NAMES Qt5ExtSerialPort HINTS ${QT_LIBRARY_DIR})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QextSerialPort DEFAULT_MSG QEXTSERIALPORT_INCLUDE_DIR QEXTSERIALPORT_LIBRARIES)
mark_as_advanced(QEXTSERIALPORT_INCLUDE_DIR QEXTSERIALPORT_LIBRARIES)
endif(QEXTSERIALPORT_INCLUDE_DIR AND QEXTSERIALPORT_LIBRARIES)
/* Defined when QextSerialPort is available */
/* Defined when QtSerialPort is available */
#cmakedefine HAVE_QTSERIALPORT 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment