summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-08-15 18:15:34 +0900
committerOBATA Akio <obache@wizdas.com>2019-08-15 18:15:34 +0900
commit7ced4e5ec0ca2ab3f9b4ad4505282fb6f5a9b434 (patch)
treee561c4a87e721ef1a140b9ed43f46fee2f7a4623 /ConfigureChecks.cmake
parent64ba1818fe4c0e1ba110574459b8a11fa54e2cf0 (diff)
downloadtdeaddons-7ced4e5ec0ca2ab3f9b4ad4505282fb6f5a9b434.tar.gz
tdeaddons-7ced4e5ec0ca2ab3f9b4ad4505282fb6f5a9b434.zip
Fix to detect BerkeleyDB as expected
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-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 )