aboutsummaryrefslogtreecommitdiffstats
path: root/include/cmake.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-08-07 13:54:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-08-07 13:54:51 +0000
commit73a584f912d266b7ab0bbee254b5fa1f268d1617 (patch)
tree4f94a1fe635dd50fc2c366bcfb97cbdd8a250a60 /include/cmake.mk
parent9a22315ca45a9a52670405bf422043ec97e68e54 (diff)
downloadupstream-73a584f912d266b7ab0bbee254b5fa1f268d1617.tar.gz
upstream-73a584f912d266b7ab0bbee254b5fa1f268d1617.tar.bz2
upstream-73a584f912d266b7ab0bbee254b5fa1f268d1617.zip
include: cmake: pass toolchain directory to default root find path as well
SVN-Revision: 37737
Diffstat (limited to 'include/cmake.mk')
-rw-r--r--include/cmake.mk2
1 files changed, 1 insertions, 1 deletions
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 \