On 04/09/2014 07:39 AM, Mourad Boufarguine wrote:
> CMake Error at D:/Program Files 
> (x86)/CMake/share/cmake-3.0/Modules/CMakeDetermineVSServicePack.cmake:140 
> (list):
> list index: 3 out of range (-3, 2)
[snip]
> content of the _cl_version variable and it gave me 17.00.61030
> so there is no 4th component in the version number.

Did this work with a previous version of CMake?  It looks like this
problem has always existed but did not manifest because normally there
are four components in the output.

Please print and report the content of "_output" so we can see why it
does not match as expected and fix the module accordingly.

Meanwhile, Eigen should be taught to use CMAKE_<LANG>_COMPILER_VERSION which
has superseded CMakeDetermineVSServicePack as mentioned in the documentation:

 http://www.cmake.org/cmake/help/v3.0/module/CMakeDetermineVSServicePack.html
 http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_LANG_COMPILER_VERSION.html

CMAKE_<LANG>_COMPILER_VERSION is available since CMake 2.8.8.

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to