diff options
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |