Fix to detect BerkeleyDB as expected

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/6/head
OBATA Akio 5 years ago
parent 64ba1818fe
commit 7ced4e5ec0

@ -91,7 +91,7 @@ if( BUILD_NOATUN_PLUGINS )
if( WITH_BERKELEY_DB )
find_path( BERKELEY_DB_INCLUDE_DIRS db_cxx.h )
find_library( BERKELEY_DB_LIBS db_cxx )
if( BERKELEY_DB_INCLUDE_DIRS-NOTFOUND OR BERKELEY_DB_LIBS-NOTFOUND )
if( BERKELEY_DB_INCLUDE_DIRS STREQUAL BERKELEY_DB_INCLUDE_DIRS-NOTFOUND OR BERKELEY_DB_LIBS STREQUAL BERKELEY_DB_LIBS-NOTFOUND )
tde_message_fatal( "BerkeleyDB is requested, but was not found on your system" )
endif( )
endif( WITH_BERKELEY_DB )

Loading…
Cancel
Save