cmake policy warnings CMP0026 and CMP0038 (Bug #3601)


Added by Chris Maes almost 12 years ago. Updated over 9 years ago.


Status:Open Start date:2014-03-11
Priority:Low Due date:
Assignee:Chris Maes % Done:

50%

Category:build/install
Target version:2.4.11
Affected version:2.4.8 (latest release) Operating System:Linux
Difficulty:Easy HW Platform:x86
Pull request:

Description

when running cmake I get these cmake warnings. I guess they do no harm but better change them. I put the output of cmake in attachment.


cmake.out (36.3 kB) Chris Maes, 2014-03-11 12:14 pm

OCV_CMake.patch - OCV patch for CMake 3.x (1.5 kB) Alexandr Rassadin, 2015-05-22 07:06 am


History

Updated by Ivan Korolev almost 12 years ago

Hi Chris,
thank you for the bug report. Unfortunately, now we have limited human resources. So if you could investigate this issue and send a fixing pull request on GitHub (http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute), it would be much appreciated!

  • Assignee changed from Roman Donchenko to Chris Maes
  • Status changed from New to Open

Updated by Daniil Osokin almost 11 years ago

Hi, Chris! Looks like it's an CMake's issue. Please try it with 2.8.x CMake version.

Updated by Daniil Osokin almost 11 years ago

If you have any progress, please, reopen the ticket.

  • Status changed from Open to Cancelled

Updated by Alexandr Rassadin almost 10 years ago

Daniil Osokin wrote:

If you have any progress, please, reopen the ticket.

Hi!

This is because CMake v. 2.x and 3.x based on different standards that's why some features usually used in 2.x branch are not allowed (valid etc) in 3.x and you will get errors (warnings) on cmake-configuration step. You can try to use the script in attachment before.

  • Status changed from Cancelled to Open
  • Target version changed from 2.4.9 to 2.4.11
  • File OCV_CMake.patch added
  • % Done changed from 0 to 50

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4716

Also available in: Atom PDF