According to this, the default path for the install target is /usr/local on Unix-like machines. The OS/2 build seems to fall into this category as well as this is exactly what I see. And it's completely wrong because it will install stuff into a wrong dir if the build drive does not match UNIXROOT (which usually the case on dev machines) and it will never be found by tools (i.e. cmake itself which looks into /@unixroot/usr/local/lib/cmake for modules by default in addition to /@unixroot/usr/lib/cmake.
The default install path should be therefore /@unixroot/usr/local instead of just /usr/local.
According to this, the default path for the install target is
/usr/local
on Unix-like machines. The OS/2 build seems to fall into this category as well as this is exactly what I see. And it's completely wrong because it will install stuff into a wrong dir if the build drive does not match UNIXROOT (which usually the case on dev machines) and it will never be found by tools (i.e. cmake itself which looks into/@unixroot/usr/local/lib/cmake
for modules by default in addition to/@unixroot/usr/lib/cmake
.The default install path should be therefore
/@unixroot/usr/local
instead of just/usr/local
.