cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Jun 2011 11:02:00 +0000 (11:02 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Jun 2011 11:02:00 +0000 (11:02 +0000)
SVN-Revision: 27256

include/cmake.mk

index fd8ff2d12d034f51273a77391945ae70c24d7c6d..6c5b5eb4f74692e893ff128ad7c99957669f0909 100644 (file)
@@ -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) \