summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-08-22 16:01:05 +0000
committerStefan Bühler <stbuehler@web.de>2015-08-22 16:01:05 +0000
commit10f1490fb149ded95126462afb186635fe83733a (patch)
tree716b2b4e3fbf05af30d020e44509636f6ed3e5e6 /cmake
parent403afcd2519aa11cc7f68a24d85a9fa6b8f213c6 (diff)
downloadlighttpd-git-10f1490fb149ded95126462afb186635fe83733a.tar.gz
[cmake] cleanup cache variables if features get deactivated
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3014 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLibEV.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindLibEV.cmake b/cmake/FindLibEV.cmake
index ee6e9cf5..739b4bad 100644
--- a/cmake/FindLibEV.cmake
+++ b/cmake/FindLibEV.cmake
@@ -31,7 +31,7 @@ if(NOT LIBEV_FOUND)
if(HAVE_LIBEV)
set(LIBEV_CFLAGS "" CACHE INTERNAL "")
set(LIBEV_LDFLAGS "-L${LIBEV_LIBDIR} -lev" CACHE INTERNAL "")
- set(LIBEV_FOUND TRUE CACHE INTERNAL "Found libev" FORCE)
+ set(LIBEV_FOUND TRUE CACHE INTERNAL "Found libev")
else()
message(STATUS "Couldn't find lib ev in ${LIBEV_LIBDIR}")
endif()
@@ -49,7 +49,7 @@ if(NOT LIBEV_FOUND)
if(HAVE_LIBEV)
set(LIBEV_CFLAGS "" CACHE INTERNAL "")
set(LIBEV_LDFLAGS "-lev" CACHE INTERNAL "")
- set(LIBEV_FOUND TRUE CACHE INTERNAL "Found libev" FORCE)
+ set(LIBEV_FOUND TRUE CACHE INTERNAL "Found libev")
else()
message(STATUS "Couldn't find lib ev")
endif()