I would like to build magnum with a local installation of corrade (i.e. a local build installed in an arbitrary folder on my system).
I can specify -DCORRADE_INCLUDE_DIR="/c/whatever/corrade/build/install/include, but CMake fails to find corrade-rc, Utility and other things. I tried specifying those manually, but FindCorrade doesn't expose all the required variables.
I propose adding a CORRADE_ROOT variable that can be pointed to "/c/whatever/corrade/build/install" in my case, and CORRADE_INCLUDE_DIR defaulted to ${CORRADE_ROOT}/include if CORRADE_ROOT is specified.
I would like to build
magnumwith a local installation ofcorrade(i.e. a local build installed in an arbitrary folder on my system).I can specify
-DCORRADE_INCLUDE_DIR="/c/whatever/corrade/build/install/include, but CMake fails to findcorrade-rc,Utilityand other things. I tried specifying those manually, butFindCorradedoesn't expose all the required variables.I propose adding a
CORRADE_ROOTvariable that can be pointed to"/c/whatever/corrade/build/install"in my case, andCORRADE_INCLUDE_DIRdefaulted to${CORRADE_ROOT}/includeifCORRADE_ROOTis specified.