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

check new support for package_ROOT in CMake, in particular for BOOST #286

Closed
KrisThielemans opened this issue Nov 6, 2018 · 1 comment
Closed

Comments

@KrisThielemans
Copy link
Collaborator

On Appveyor tests, we're now getting

CMake Warning (dev) at CMakeLists.txt:66 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  Environment variable Boost_ROOT is set to:
    C:\Libraries\boost_1_63_0
  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Boost version: 1.63.0

It did seem to work (there's an unrelated error in that log) though. We need to at least get rid of the warning.

Thisis from CMake 3.12, see https://cmake.org/cmake/help/git-stage/policy/CMP0074.html

@KrisThielemans
Copy link
Collaborator Author

Closed by #1140

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

1 participant