So, this code here:

2a34b579 Tests/CMakeLists.txt (Eric NOULARD 2012-03-30 17:07:06 +0200 720) # Analyze 'cpack --help' output for list of available generators: 2a34b579 Tests/CMakeLists.txt (Eric NOULARD 2012-03-30 17:07:06 +0200 721) execute_process(COMMAND ${CMAKE_CPACK_COMMAND} --help


The trouble is the cpack that is being tested is the one from the build tree. If you have a very old CMake build tree, and you do a git pull and gets lots of new cmake code. Then when you re-run cmake on the build tree, the cpack --help might crash. I am not sure how this works on a fresh build tree either as cpack won't even exist.

-Bill





--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573

--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to