Find communi in QT_LIBRARY_DIR
This commit is contained in:
parent
fcb7bd6acd
commit
9d5e0793e0
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
FIND_LIBRARY(IRC_LIBRARY NAMES Communi)
|
||||
FIND_PATH(IRC_INCLUDE_DIR NAMES "ircglobal.h" PATH_SUFFIXES Communi qt4/Communi )
|
||||
find_package(Qt4 REQUIRED)
|
||||
include( ${QT_USE_FILE} )
|
||||
|
||||
FIND_LIBRARY(IRC_LIBRARY NAMES Communi PATHS ${QT_LIBRARY_DIR})
|
||||
FIND_PATH(IRC_INCLUDE_DIR NAMES "ircglobal.h" PATHS ${QT_INCLUDE_DIR} PATH_SUFFIXES Communi)
|
||||
|
||||
# message( STATUS ${IRC_LIBRARY})
|
||||
if( IRC_LIBRARY AND IRC_INCLUDE_DIR )
|
||||
|
|
Loading…
Add table
Reference in a new issue