Work without PURPLE_LIBRARY defined
This commit is contained in:
parent
060510d695
commit
f219bf6320
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue