Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] In the trinity core guide on atlassian, when configuring and generating the Visual C++ solution with

[DiscordArchive] In the trinity core guide on atlassian, when configuring and generating the Visual C++ solution with

[DiscordArchive] In the trinity core guide on atlassian, when configuring and generating the Visual C++ solution with

rektbyfaith
Administrator
0
01-14-2020, 12:07 AM
#1
Archived author: Auhgarn • Posted: 2020-01-14T00:07:22.912000+00:00
Original source

In the trinity core guide on atlassian, when configuring and generating the Visual C++ solution with CMake, I am getting the following error:
```
CMake Warning (dev) at dep/boost/CMakeLists.txt:48 (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:

D:\local\boost_1_66_0

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
```
If I have interpreted this correctly, it's due to my boost system variable being named incorrectly. So changing its name from:
```
BOOST_ROOT
```
to
```
Boost_ROOT
```
would resolve the issue. Am I right or wrong?
rektbyfaith
01-14-2020, 12:07 AM #1

Archived author: Auhgarn • Posted: 2020-01-14T00:07:22.912000+00:00
Original source

In the trinity core guide on atlassian, when configuring and generating the Visual C++ solution with CMake, I am getting the following error:
```
CMake Warning (dev) at dep/boost/CMakeLists.txt:48 (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:

D:\local\boost_1_66_0

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
```
If I have interpreted this correctly, it's due to my boost system variable being named incorrectly. So changing its name from:
```
BOOST_ROOT
```
to
```
Boost_ROOT
```
would resolve the issue. Am I right or wrong?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)