Skip to content
Permalink
Browse files

Update FindQextserialport.cmake for Qt5

Find default library name used with Qt5 and checks qt subdir for header
  • Loading branch information
Scimmia22 committed Apr 4, 2018
1 parent b19aef3 commit 293c56c351ab609220517e4c91d6e46960f70046
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmake/FindQextserialport.cmake
@@ -18,10 +18,10 @@ FIND_PATH(QEXTSERIALPORT_INCLUDE_DIR NAMES qextserialport.h PATHS
/usr/local/include
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
PATH_SUFFIXES QtExtSerialPort
PATH_SUFFIXES QtExtSerialPort qt/QtExtSerialPort
)

FIND_LIBRARY(QEXTSERIALPORT_LIBRARY NAMES qextserialport-1.2 PATHS
FIND_LIBRARY(QEXTSERIALPORT_LIBRARY NAMES Qt5ExtSerialPort PATHS
/usr/lib
/usr/local/lib
"$ENV{LIB_DIR}/lib"

0 comments on commit 293c56c

Please sign in to comment.
You can’t perform that action at this time.