caffe2
caffe2 copied to clipboard
hiredis include path
The CMakeCache.txt of Caffe2 exposes following variables:
HIREDIS_INCLUDE_DIRS
HIREDIS_LIBRARIES Hiredis_INCLUDE_DIR Hiredis_LIBRARIES
Hiredis.h exists in a folder like following :
<install_path>/include/hiredis/hiredis.h
When in include_dirs, I provide <install_path>/include/hiredis, I get an error in some files because they specify the include as #include<hiredis/hiredis.h>
When I provide <install_path>/include, I get an error in some files because they specify the include as #include<hiredis/hiredis.h>
I also tried to provide both the paths separated by a;in the ccmake, but the problem persists ?
What is the reason behind this inconsistency ?
Taking a look. Probably the caffe2 and gloo cmake files use them in a slightly different way...