Skip to content
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 Policy CMP0152 is not set #1678

Open
dannyglover opened this issue May 16, 2024 · 1 comment
Open

CMAKE Policy CMP0152 is not set #1678

dannyglover opened this issue May 16, 2024 · 1 comment

Comments

@dannyglover
Copy link

dannyglover commented May 16, 2024

What happened?

When building the project, I get this cmake warning in the console:
Which policy should I use?

  Policy CMP0152 is not set: file(REAL_PATH) resolves symlinks before
  collapsing ../ components.  Run "cmake --help-policy CMP0152" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  From input path:

    /home/danny/Documents/Projects/Internal/xxx/linux/flutter/ephemeral/.plugin_symlinks/realm/linux/../../../../../../pubspec.yaml

  the policy OLD behavior produces path:

    /home/danny/Documents/Projects/Internal/xxx/pubspec.yaml

  but the policy NEW behavior produces path:

    /home/danny/Documents/Projects/Internal/xxx/linux/flutter/ephemeral/.plugin_symlinks/realm/linux/../../../../../../pubspec.yaml

  Since the policy is not set, CMake is using the OLD behavior for
  compatibility.
This warning is for project developers.  Use -Wno-dev to suppress it.```

### Repro steps

Build a project using relam on Linux.

### Version

Dart: 3.3.4 / Flutter: 3.19.0

### What Atlas Services are you using?

Local Database only

### What type of application is this?

Flutter Application

### Client OS and version

Fedora 40

### Code snippets

_No response_

### Stacktrace of the exception/crash you're getting

_No response_

### Relevant log output

_No response_
Copy link

sync-by-unito bot commented May 16, 2024

➤ PM Bot commented:

Jira ticket: RDART-1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants