Changeset - 84b78f1333b7
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-09-05 17:12:34
hanzz.k@gmail.com
set PURPLE_RUNTIME before trying to detect libpurple
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
cmake_modules/purpleConfig.cmake
Show inline comments
 
FIND_LIBRARY(PURPLE_LIBRARY NAMES purple)
 
FIND_PATH(PURPLE_INCLUDE_DIR NAMES "purple.h" PATH_SUFFIXES libpurple )
 

	
 
if(WIN32 AND PURPLE_INCLUDE_DIR )
 
	if (NOT PURPLE_NOT_RUNTIME)
 
		set(PURPLE_LIBRARY "")
 
	endif(PURPLE_NOT_RUNTIME)
 
	endif(NOT PURPLE_NOT_RUNTIME)
 
	set(PURPLE_FOUND 1)
 
	message(STATUS "Using purple: ${PURPLE_INCLUDE_DIR} ${PURPLE_LIBRARY}")
 
else()
 

	
 
if( PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR )
 
    message( STATUS "Found libpurple: ${PURPLE_LIBRARY}, ${PURPLE_INCLUDE_DIR}")
0 comments (0 inline, 0 general)