-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMP0037 OLD cmake deprecation warning #3587
Labels
Milestone
Comments
We have got cmake_policy(SET CMP0037 OLD). |
OKriw
pushed a commit
that referenced
this issue
May 6, 2020
Remove setting old CMP0037 policy explicitly, it may be removed in later versions of cmake. Closes #3587
OKriw
pushed a commit
that referenced
this issue
May 21, 2020
To stop deprecation warning CMP0037 policy was changed to NEW. Deprecation warnings tells us that OLD behaviour will be dropped in the next versions. CMP0037 old behavior (cmake 2.8.12) allowed taget names such as test, however in versions 3.10 and below names test, help and etc. were complitely anavailable because cmake always reserved them. Starting from cmake 3.11 this names only reserved when the corresponding feature is enabled (e.g. by including the CTest or CPack modules). Tarantool does not use CTest so the name test can be used. Users have to use cmake 3.11 and above. Closes: #3587
OKriw
pushed a commit
that referenced
this issue
May 25, 2020
To fix deprecation warning, CMP0037 policy was changed to NEW for cmake 3.11 and above. CMP0037 old behavior (cmake 2.8.12) allowed target names such as test. In cmake 3.10 and below names test, help and etc. were reserved. Starting from cmake 3.11 these names are only reserved when the corresponding feature is enabled (e.g. by including the CTest or CPack modules). Tarantool does not use CTest so the name test can be used. Closes: #3587
OKriw
pushed a commit
that referenced
this issue
May 27, 2020
To fix deprecation warning, CMP0037 policy was changed to NEW for cmake 3.11 and above. CMP0037 old behavior (cmake 2.8.12) allowed target names such as test. In cmake 3.10 and below names test, help and etc. were reserved. Starting from cmake 3.11 these names are only reserved when the corresponding feature is enabled (e.g. by including the CTest or CPack modules). Tarantool does not use CTest so the name test can be used. Closes #3587
Totktonada
pushed a commit
that referenced
this issue
Jun 14, 2020
To fix deprecation warning, CMP0037 policy was changed to NEW for cmake 3.11 and above. CMP0037 old behavior (cmake 2.8.12) allowed target names such as test. In cmake 3.10 and below names test, help and etc. were reserved. Starting from cmake 3.11 these names are only reserved when the corresponding feature is enabled (e.g. by including the CTest or CPack modules). Tarantool does not use CTest so the name test can be used. Closes #3587 (cherry picked from commit a753f25)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmake version 3.11.3
Related: #742.
Can be fixed like so I guess: https://git.reviewboard.kde.org/r/123745/diff/1#index_header
Update: The link above was died. I guess the linked patch is https://phabricator.kde.org/R283:38b0eeec41de0e916dd834b849f7ddcfa06bdafc
The text was updated successfully, but these errors were encountered: