-DDL_LIBRARY=$(STAGING_DIR) \
-DCMAKE_PREFIX_PATH=$(STAGING_DIR) \
-DCMAKE_SKIP_RPATH=TRUE \
+ -DCMAKE_EXPORT_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=TRUE \
+ -DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE \
+ -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE \
$(CMAKE_OPTIONS) \
$(CMAKE_SOURCE_DIR) \
)
-DCMAKE_PREFIX_PATH=$(HOST_BUILD_PREFIX) \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_EXPORT_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=TRUE \
+ -DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE \
+ -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE \
+ -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE \
$(CMAKE_HOST_OPTIONS) \
$(HOST_CMAKE_SOURCE_DIR) \
)