Skip to content

Commit

Permalink
Update FindQextserialport.cmake for Qt5
Browse files Browse the repository at this point in the history
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 293c56c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindQextserialport.cmake
Expand Up @@ -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"
Expand Down

0 comments on commit 293c56c

Please sign in to comment.