Trinitycore: CMake is ignoring the variable - Boost_ROOT

Created on 5 Aug 2019  路  4Comments  路  Source: TrinityCore/TrinityCore

Description:

CMake Warning (dev) at dep/boost/CMakeLists.txt:41 (find_package):
Policy CMP0074 is not set: find_package uses _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:\boost

For compatibility, CMake is ignoring the variable.

This warning is for project developers. Use -Wno-dev to suppress it.

Steps to reproduce the problem:

  1. Open Cmake (cmake-gui) 3.13.2.
  2. Click on Configure button.

Branch(es): master

Operating system: Windows 10 Pro. 1903 (compilacion de SO 18362.239)
Boost version: 1.68.0
Cmake version: 3.13.2

Branch-master

Most helpful comment

No, dont suggest crap, the variable is still required

All 4 comments

This warning is for project developers. Use -Wno-dev to suppress it.

We know, its not breaking anything

I have looked at that detail a lot lately, but since I have not checked how this behaviour is on Linux, I have not suggested any changes to the source.

For the time being, those of us who have noticed this in CMake on Windows can only try out the change in our local source, or skip the OS environment variable, to stop seeing this message.

No, dont suggest crap, the variable is still required

https://github.com/TrinityCore/TrinityCore/commit/18cc36bc67023dc9ca58e77733c2b8c74655cf86 killed the warning in 3.3.5 branch (nothing really changed other than not seeing the message anymore)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

besplash picture besplash  路  3Comments

Rushor picture Rushor  路  3Comments

Rushor picture Rushor  路  3Comments

Keader picture Keader  路  3Comments

DDuarte picture DDuarte  路  3Comments