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

Fix Qt CMake policy #1162

Open
Arthoni opened this issue Oct 19, 2023 · 0 comments
Open

Fix Qt CMake policy #1162

Arthoni opened this issue Oct 19, 2023 · 0 comments

Comments

@Arthoni
Copy link
Member

Arthoni commented Oct 19, 2023

Named CMP0020, mode OLD is deprecated : https://cmake.org/cmake/help/latest/policy/CMP0020.html

Warning during precompilation:

-- Found Qt6 (version 6.2.4)
CMake Deprecation Warning at _build/dist/lib/openfluid/cmake/OpenFLUIDDetectQt.cmake:70 (CMAKE_POLICY):
  The OLD behavior for policy CMP0020 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  src/openfluid/ui/waresdev/CMakeLists.txt:1 (INCLUDE)
@Arthoni Arthoni added this to the release-2.2.+ milestone Oct 19, 2023
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

1 participant