diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-06-22 11:02:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-06-22 11:02:00 +0000 |
commit | 2bc81b5e4a4768b8c596a61ed110747f7c519f5a (patch) | |
tree | c0d19cec6facadb0f53560e7720dcb377c524bb3 | |
parent | 1f71cdebe0ee2bf8cb9779f5221ba14f92182a82 (diff) | |
download | master-187ad058-2bc81b5e4a4768b8c596a61ed110747f7c519f5a.tar.gz master-187ad058-2bc81b5e4a4768b8c596a61ed110747f7c519f5a.tar.bz2 master-187ad058-2bc81b5e4a4768b8c596a61ed110747f7c519f5a.zip |
[include] cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27256 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/cmake.mk | 6 |
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) \ |