You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake warnings CMP0063 and CMP0048 occurs from dependencies.
Some developers unfamiliar with CMake will mistake these for errors, because it shown in red-color character.
I suggest to suppress these warnings.
To Reproduce
clone Azure Kinect Sensor SDK
cmake configure, and show some warnings
Expected behavior
Logs
CMake Warning (dev) at extern/azure_c_shared/src/CMakeLists.txt:10 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/azure_c_shared/src/deps/azure-macro-utils-c/CMakeLists.txt:10 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/azure_c_shared/src/deps/umock-c/CMakeLists.txt:15 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/libjpeg-turbo/src/CMakeLists.txt:7 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/libsoundio/src/CMakeLists.txt:2 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/libyuv/src/CMakeLists.txt:45 (if):
Policy CMP0064 is not set: Support new TEST if() operator. Run "cmake
--help-policy CMP0064" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
TEST will be interpreted as an operator when the policy is set to NEW.
Since the policy is not set the OLD behavior will be used.
This warning is for project developers. Use -Wno-dev to suppress it.
Screenshots
Desktop (please complete the following information):
OS with Version: Windows 1909
SDK Version: 1.4.1 or develop/HEAD
CMake Version: 3.17.5
Additional context
The text was updated successfully, but these errors were encountered:
qm13
added
Triage Approved
The Issue has been approved by an Azure Kinect team member.
and removed
Triage Needed
The Issue still needs to be reviewed by Azure Kinect team members.
labels
Oct 2, 2020
Describe the bug
CMake warnings CMP0063 and CMP0048 occurs from dependencies.
Some developers unfamiliar with CMake will mistake these for errors, because it shown in red-color character.
I suggest to suppress these warnings.
To Reproduce
Expected behavior
Logs
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: