From 45439ef9f6c17e43f793754f796558bd1c6bc199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 6 Apr 2016 10:29:36 +0200 Subject: [PATCH] doc: finally mention CMAKE_FIND_ROOT_PATH. A lot of people asked this, not sure why I didn't put this in already. --- doc/building.dox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/building.dox b/doc/building.dox index b6d2092d3..1d9e5cd2a 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -376,6 +376,10 @@ contents in `toolchains/` subdirectory. git submodule init git submodule update +Note that CMake for some reason treats `CMAKE_PREFIX_PATH` and +`CMAKE_INSTALL_PREFIX` differently while crosscompiling and you may need to set +also `CMAKE_FIND_ROOT_PATH` to make it able to find the dependencies. + @subsection building-cross-winrt Crosscompiling for Windows RT As said above, you need native build of `corrade-rc` executable. The below