aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-22 11:02:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-22 11:02:00 +0000
commitcda35d2ef2ba813d93e38c61539a70d3e0727048 (patch)
treeb29f48471455171db296dca84217da564d637c39 /include
parentfbed51a8b52c517e5bfd6576729a763bf1d09ca5 (diff)
downloadupstream-cda35d2ef2ba813d93e38c61539a70d3e0727048.tar.gz
upstream-cda35d2ef2ba813d93e38c61539a70d3e0727048.tar.bz2
upstream-cda35d2ef2ba813d93e38c61539a70d3e0727048.zip
cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573)
SVN-Revision: 27256
Diffstat (limited to 'include')
-rw-r--r--include/cmake.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index fd8ff2d12d..6c5b5eb4f7 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -40,9 +40,9 @@ define Build/Configure/Default
-DCMAKE_MODULE_LINKER_FLAGS="$(TARGET_LDFLAGS)" \
-DCMAKE_SHARED_LINKER_FLAGS="$(TARGET_LDFLAGS)" \
-DCMAKE_FIND_ROOT_PATH=$(STAGING_DIR) \
- -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=$(STAGING_DIR_HOST) \
- -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=$(STAGING_DIR) \
- -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=$(STAGING_DIR) \
+ -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \
+ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
+ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-DCMAKE_STRIP=: \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDL_LIBRARY=$(STAGING_DIR) \