diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index f0454bd8..db99bc97 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -37,6 +37,7 @@ if (HAVE_ROBUST_MUTEX) set(HAVE_ROBUST_MUTEX TRUE) else () message(STATUS "Robust mutex support disabled by user") + unset(HAVE_ROBUST_MUTEX) endif () endif () @@ -51,6 +52,7 @@ if (FUSE_LIBRARIES) set(HAVE_FUSE TRUE CACHE INTERNAL "") else () message(STATUS "FUSE support disabled by user") + unset(HAVE_FUSE CACHE) endif () else () message(STATUS "Install FUSE version > 2.6 to enable RIB access") @@ -79,6 +81,7 @@ if (LIBGCRYPT_LIBRARIES) set(HAVE_LIBGCRYPT TRUE CACHE INTERNAL "") else () message(STATUS "libgcrypt support disabled by user") + unset(HAVE_LIBGCRYPT CACHE) endif() else () message(STATUS "Install version > \"1.7.0\" to enable libgcrypt support " @@ -100,6 +103,7 @@ if (OPENSSL_FOUND) set(HAVE_OPENSSL TRUE) else() message(STATUS "OpenSSL support disabled by user") + unset(HAVE_OPENSSL) endif() endif () @@ -117,6 +121,7 @@ else () set(HAVE_SYS_RANDOM TRUE) else () set(SYS_RND_HDR "") + unset(HAVE_SYS_RANDOM) endif () endif() |