mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
7e142c5ac2
Teach the project() command to set variables {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK} holding the project version number and its components. Add project() command option "VERSION" to specify the version explicitly, and default to the empty string when it is not given. Since this clears variables when no VERSION is given, this may change behavior for existing projects that set the version variables themselves prior to calling project(). Add policy CMP0048 for compatibility. Suggested-by: Alex Neundorf <neundorf@kde.org>
13 lines
511 B
Plaintext
13 lines
511 B
Plaintext
CMake Warning \(dev\) at CMP0048-WARN.cmake:3 \(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
|
|
MyProject_VERSION_TWEAK
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|