Changeset - 9d5e0793e011
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-04-11 17:37:42
hanzz.k@gmail.com
Find communi in QT_LIBRARY_DIR
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
cmake_modules/CommuniConfig.cmake
Show inline comments
 
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 )
0 comments (0 inline, 0 general)