-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake ARCHIVE_EXTRACT command #78
Comments
same issue |
I am using CMake version 3.22.1, but I am also getting the same issue. How do I fix this? |
Has there been any update or workaround to this issue? I have just install Flet 0.24.1, and Flutter 3.24.3, and am getting this error. |
@pullenrc where do you get that error, while using |
I had the same issue when run Update: tested with flutter manually installed, the same issue remains. |
flet build linux produced the following Message: [09:02:24] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.24.1 ✅
flet --version |
Used a CMake ARCHIVE_EXTRACT command that supports only from CMake 3.18.
But required cmake version is 3.10 ( for linux ) or 3.14 ( for windows ).
This leads to embarrassing errors ( ubuntu 20.04 with out-of-box cmake version 3.16 ):
CMake docs about ARCHIVE_EXTRACT:
https://cmake.org/cmake/help/latest/command/file.html#archive-extract
ARCHIVE_EXTRACT usage:
serious-python/src/serious_python_linux/linux/CMakeLists.txt
Line 25 in e44dff1
serious-python/src/serious_python_windows/windows/CMakeLists.txt
Line 24 in e44dff1
I suggest increase requirement version of cmake to 3.18.
There will be a clearer error message.
And it will also allow to learn the list_prepend function. Because list(TRANSFORM ..) and list(PREPEND..) will already be supported in cmake 3.18.
E.g. here
serious-python/src/serious_python/example/run_example/linux/flutter/CMakeLists.txt
Line 14 in e44dff1
The text was updated successfully, but these errors were encountered: