From: Jo-Philipp Wich Date: Wed, 7 Aug 2013 13:54:51 +0000 (+0000) Subject: include: cmake: pass toolchain directory to default root find path as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73a584f912d266b7ab0bbee254b5fa1f268d1617;p=openwrt%2Fstaging%2Frobimarko.git include: cmake: pass toolchain directory to default root find path as well SVN-Revision: 37737 --- diff --git a/include/cmake.mk b/include/cmake.mk index 64a0654f96..774632111f 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -48,7 +48,7 @@ define Build/Configure/Default -DCMAKE_EXE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \ -DCMAKE_MODULE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \ -DCMAKE_SHARED_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \ - -DCMAKE_FIND_ROOT_PATH=$(STAGING_DIR) \ + -DCMAKE_FIND_ROOT_PATH="$(STAGING_DIR);$(TOOLCHAIN_DIR)" \ -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \