Cannot configure OTB 4.0 with cmake 3.0.0
Mantis Issue 950, reported by rkanavath, assigned to rkanavath, created: 2014-06-20
This issue has been reported on otb-users
https://groups.google.com/forum/?hl=en#!topic/otb-users/dOjBl0ts27Q
CMake Error: Error in cmake code at /home/argyros/builds/orfeo-toolbox/src/OTB-4.0.0/CMake/ImportGdal.cmake:36: Parse error. Function missing ending ")". Instead found bad character with text "[". CMake Error at CMakeLists.txt:206 (include): include could not find load file:
1403258619 - rashadkmhttp://hg.orfeo-toolbox.org/OTB/rev/b6ece1fec004
This fixes the configuration error. But there seems to be a warning about cmake policy. This fix does not seems to be trivial and need changes in export_library_dependencies(). This update in cmakelists.txt is mandatory but can wait for a clean dashboard.
http://www.cmake.org/cmake/help/v3.0/policy/CMP0033.html
1422435280 - rashadkmAnother issue with cmake-3.0 reported on osgeo4mac
https://github.com/OSGeo/homebrew-osgeo4mac/issues/76
1422529053 - grizonnetmFirst try to fix this:
http://hg.orfeo-toolbox.org/OTB/rev/beb8272358c6
1422633655 - grizonnetmseems to work on debian sid, waiting for homebrew packagers feedback to close the issue
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=170617
1424712409 - rashadkmthe problem exists cmake 3.0 and OTB 4.2 and before. with OTB trunk the issue is fixed
1424762959 - grizonnetmTo be more specific, this issue is fixed since OTB 4.4.0
*142476456