summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authordp770 <dima@pesahov.net>2017-09-12 22:36:05 +0100
committerGitHub <noreply@github.com>2017-09-12 22:36:05 +0100
commit8433e247df96b816de9a33c726dc4fd00c2251d4 (patch)
tree3f5ff4e4894ab1f1f654665169c274debaafd7d7 /CMakeLists.txt
parent3c4b00fa63b0652000d01856fb38dd8af6eac3ce (diff)
downloadxmr-stak-8433e247df96b816de9a33c726dc4fd00c2251d4.zip
xmr-stak-8433e247df96b816de9a33c726dc4fd00c2251d4.tar.gz
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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud