From 7ced4e5ec0ca2ab3f9b4ad4505282fb6f5a9b434 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Thu, 15 Aug 2019 18:15:34 +0900 Subject: Fix to detect BerkeleyDB as expected Signed-off-by: OBATA Akio --- ConfigureChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 172d05b..1fce07f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -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 ) -- cgit v1.2.1