Changeset - f219bf632043
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-09-04 15:59:45
hanzz.k@gmail.com
Work without PURPLE_LIBRARY defined
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
@@ -47,7 +47,10 @@ set(mysql_DIR "${CMAKE_SOURCE_DIR}/cmake_modules")
 
find_package(mysql)
 

	
 
# FIND LIBPURPLE
 
if( PURPLE_LIBRARY AND PURPLE_INCLUDE_DIR )
 
if( PURPLE_INCLUDE_DIR )
 
	if (PURPLE_NOT_RUNTIME)
 
		set(PURPLE_LIBRARY "")
 
	endif(PURPLE_NOT_RUNTIME)
 
	set(PURPLE_FOUND 1)
 
	message(STATUS "Using purple: ${PURPLE_INCLUDE_DIR} ${PURPLE_LIBRARY}")
 
else()
0 comments (0 inline, 0 general)