This repository was archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 632
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
CMake warnings occurs from dependencies #1368
Copy link
Copy link
Open
Labels
BugSomething isn't workingSomething isn't workingTriage ApprovedThe Issue has been approved by an Azure Kinect team member.The Issue has been approved by an Azure Kinect team member.
Description
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
- 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
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingTriage ApprovedThe Issue has been approved by an Azure Kinect team member.The Issue has been approved by an Azure Kinect team member.