From ee585ee3a3a2c9097f818bdbeaea16969af351b7 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Tue, 13 Oct 2015 15:55:01 +0000 Subject: [PATCH] Point CMAKE_FIND_ROOT_PATH to the supposedly right place. XXX: no idea how to test that cmake works. Would be nice to have an automated test for that. --- app-tools/toolchain.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-tools/toolchain.cmake.in b/app-tools/toolchain.cmake.in index 263517d..a83f1d6 100644 --- a/app-tools/toolchain.cmake.in +++ b/app-tools/toolchain.cmake.in @@ -9,7 +9,7 @@ set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_C_COMPILER !APPTOOLS_CC!) set(CMAKE_CXX_COMPILER !APPTOOLS_CXX!) -set(CMAKE_FIND_ROOT_PATH !BASE_DIR!/rumprun) +set(CMAKE_FIND_ROOT_PATH !DESTDIR!) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -- 2.39.5