[CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
Hi, In my project, I generate the readme file that I use as package description file in cpack. In my top CMakeLists.txt I have: set(CPACK_PACKAGE_DESCRIPTION_FILE ${README_FILE}) include(CPack) When I run cmake, it complains that my file does not exist... Can't we disable this test? Is there

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Bill Hoffman
Nicolas Desprès wrote: Hi, In my project, I generate the readme file that I use as package description file in cpack. In my top CMakeLists.txt I have: set(CPACK_PACKAGE_DESCRIPTION_FILE ${README_FILE}) include(CPack) When I run cmake, it complains that my file does not exist... Can't we

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
On Fri, Mar 28, 2008 at 4:02 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Nicolas Desprès wrote: Hi, In my project, I generate the readme file that I use as package description file in cpack. In my top CMakeLists.txt I have: set(CPACK_PACKAGE_DESCRIPTION_FILE ${README_FILE})

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Bill Hoffman
Nicolas Desprès wrote: On Fri, Mar 28, 2008 at 4:02 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Nicolas Desprès wrote: Hi, In my project, I generate the readme file that I use as package description file in cpack. In my top CMakeLists.txt I have: set(CPACK_PACKAGE_DESCRIPTION_FILE

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
On Fri, Mar 28, 2008 at 4:42 PM, Bill Hoffman [EMAIL PROTECTED] wrote: [...] OK, I see the problem. Can you create a bug report for this. I guess that could be pushed to cpack time, and not cmake time. Done. BTW, I found a work around which is to use execute_process instead of