From 8433e247df96b816de9a33c726dc4fd00c2251d4 Mon Sep 17 00:00:00 2001 From: dp770 Date: Tue, 12 Sep 2017 22:36:05 +0100 Subject: [PATCH] Env variable "MICROHTTPD_ROOT" is ignored by cmake Fixing bug in CMakeLists.txt preventing to pick up microhttpd library root as defined in environment variable "MICROHTTPD_ROOT" Example: "export MICROHTTPD_ROOT=/opt/gnu/libmicrohttpd-0.9.55" will be ignored without this fix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a056be..ac01604 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ if(MICROHTTPD_ENABLE) /usr/local /usr ENV "PROGRAMFILES(X86)" - ENV "HWLOC_ROOT" + ENV "MICROHTTPD_ROOT" PATH_SUFFIXES include)