Fix to detect BerkeleyDB as expected

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 7ced4e5ec0)
r14.0.x
OBATA Akio 5 years ago committed by Slávek Banko
parent a28e7b3c1c
commit 11a61afcbb
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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