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
This commit is contained in:
dp770
2017-09-12 22:36:05 +01:00
committed by GitHub
parent 3c4b00fa63
commit 8433e247df
+1 -1
View File
@@ -58,7 +58,7 @@ if(MICROHTTPD_ENABLE)
/usr/local
/usr
ENV "PROGRAMFILES(X86)"
ENV "HWLOC_ROOT"
ENV "MICROHTTPD_ROOT"
PATH_SUFFIXES
include)