Compiling with -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/root

I was trying to compile ROOT with a custom CMAKE_INSTALL_INCLUDEDIR. I’d like to have ROOT Header files in /usr/include/root, libraries in /usr/include/root, … (reason: with the old confgure --prefix=/usr it was that way and I don’t want to break some scripts).

However, when I run cmake -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/root, ROOT does not compile. Instead I get:

[ 29%] Built target LLVMDebugInfoCodeView
Scanning dependencies of target Clib
[ 29%] Building C object core/clib/CMakeFiles/Clib.dir/src/Demangle.c.o
/write-temp/root-6.08.00/core/clib/src/Demangle.c:28:22: fatal error: Demangle.h: No such file or directory
 #include "Demangle.h"
compilation terminated.

Is there any solution for this problem? Should I pass other arguments to cmake?

Ubuntu 14.04.1 (Dockerized), cmake version 3.6.3.

[url= -DCMAKE_INSTALL_PREFIX=/usr -Dgnuinstall=ON -Dall=ON -Dsoversion=ON /path/to/the/source/code[/url]

Works, thank you!