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 deprecation warning #131

Open
vidavidorra opened this issue Dec 3, 2018 · 0 comments
Open

CMake deprecation warning #131

vidavidorra opened this issue Dec 3, 2018 · 0 comments

Comments

@vidavidorra
Copy link

vidavidorra commented Dec 3, 2018

I'm getting deprecation warnings of policies CMP0053 and CMP0054, running CMake 3.12.3 on macOS.

CMake Deprecation Warning at submodules/cmakepp/cmakepp.cmake:25 (cmake_policy):
  The OLD behavior for policy CMP0053 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):
  CMakeLists.txt:15 (include)


CMake Deprecation Warning at submodules/cmakepp/cmakepp.cmake:28 (cmake_policy):
  The OLD behavior for policy CMP0054 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):
  CMakeLists.txt:15 (include)

Personally I didn't get any errors when setting both policies to NEW, but I'm only using the following functions from CMake++.

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

No branches or pull requests

0 participants