Hi Eric. You nailed it! Those characters got inserted when I copies and pasted the names of the variables fromt the CPack wiki. Once removed everything works perfectly. Fantastic!
Thank you a million. --- Paolo Ciccone www.preta3d.com www.paolociccone.com On Tue, Nov 27, 2012 at 1:34 PM, Eric Noulard <eric.noul...@gmail.com>wrote: > 2012/11/27 Paolo Ciccone <phcicc...@gmail.com>: > > I have prepared a testcase that I can use to replicate the issue all the > > time. > > I am running Mac OS 10.8.2 (ML) and I tested this case with both > CMake/CPack > > 2.8.10.1 and 2.8.9. > > > > The command issued is simply: > > > > cmake -G Xcode > > > > You can find the test case, which is stripped down to almost nothing > here: > > > > https://dl.dropbox.com/u/3701566/cmake_cpack_test.zip > > If you open your CMakeLists.txt in an hexadecimal editor you'll see > that you have spurious C2 A0 UTF-8 characters (unbreakable space) at the > end of > the following variables: > CPACK_PACKAGE_VENDOR > CPACK_PACKAGE_VERSION_MAJOR > CPACK_PACKAGE_VERSION_MINOR > CPACK_PACKAGE_VERSION_PATCH > CPACK_PACKAGE_DESCRIPTION_SUMMARY > CPACK_RESOURCE_FILE_WELCOME > CPACK_RESOURCE_FILE_README > CPACK_RESOURCE_FILE_LICENSE > > so statement like > > set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_CURRENT_SOURCE_DIR}/intro.rtf") > > may be puzzling CMake because the extraneous "unbreakable space" may not be > considered as a separator. > > On linux it seems to work but the behavior on the Mac may be different. > Could you try replacing your CMakeLists.txt with the one attached to this > mail > and retry. > > > -- > Erk > Le gouvernement représentatif n'est pas la démocratie -- > http://www.le-message.org >
-- 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://www.cmake.org/mailman/listinfo/cmake