-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Description
Running or building Windows desktop app after objectbox dependencies importation shows following warnings:
CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.24/Modules/FetchContent.cmake:1264 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
flutter/ephemeral/.plugin_symlinks/objectbox_flutter_libs/windows/CMakeLists.txt:58 (FetchContent_Declare)
This warning is for project developers. Use -Wno-dev to suppress it.
Basic info (please complete the following information):
- ObjectBox version: objectbox: ^2.0.0 | objectbox_flutter_libs: any
- Flutter/Dart SDK: 3.7.8
- Null-safety enabled: yes
- Reproducibility: always
- OS: Windows 11
- Device/Emulator: Windows x64
Steps to reproduce
- Create new flutter project
- Add objectbox: ^2.0.0 | objectbox_flutter_libs: any to pubspec
- Run
flutter build windows
Expected behavior
code generation without warnings
hanguk0726, alexcode9 and Matej-Hlatky
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request