summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2019-08-15 18:15:34 +0900
committerSlávek Banko <[email protected]>2019-08-15 22:36:13 +0200
commit11a61afcbbb8ec1c82536f02d60b50d001befa5b (patch)
tree1ba891ab0a727a81c57e086bbe348727cb8ff727
parenta28e7b3c1c287b096e6e4a79cd2e54d66f5d8302 (diff)
downloadtdeaddons-11a61afcbbb8ec1c82536f02d60b50d001befa5b.tar.gz
tdeaddons-11a61afcbbb8ec1c82536f02d60b50d001befa5b.zip
Fix to detect BerkeleyDB as expected
Signed-off-by: OBATA Akio <[email protected]> (cherry picked from commit 7ced4e5ec0ca2ab3f9b4ad4505282fb6f5a9b434)
-rw-r--r--ConfigureChecks.cmake2
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 )