mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
cmake: stop FetchContent from fetching content
CMake includes a FetchContent module, which will download further source code at configure time. With the network isolation this will now fail, but as not all environments support network isolation we can tell cmake to not download either for extra safety. (From OE-Core rev: 138df1940fff303de48c98a95ac1bbaef4f120e2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
75f9785a2b
commit
23ac8859f4
@@ -189,6 +189,7 @@ cmake_do_configure() {
|
||||
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
|
||||
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
|
||||
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON \
|
||||
${EXTRA_OECMAKE} \
|
||||
-Wno-dev
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user