<font color='black' size='2' face='arial'>Looks li<font size="2">ke the values of CPACK_RESOURCE_FILE_README and CPACK_RESOURCE_FILE_LICENS<font size="2">E are not set to full path values. Since the directory may be different when CPack runs, they should be specified as full path values, i.e. "${CMAKE_<font size="2">CURRENT_SOUR<font size="2">CE_DIR}/README" instead of "README".<br>
<br>
<font size="2">Is that the problem? What are your values for those variables?</font><br>
</font></font></font></font><font color="black" face="arial" size="2">

<div> <br>
<br>
<font size="2">HTH,<br>
<font size="2">D</font><br>
</font>
</div>



<div> <br>
<br>

</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>

From: Robert Hegner &lt;rhegner@hsr.ch&gt;<br>

To: cmake &lt;cmake@cmake.org&gt;<br>

Sent: Thu, Feb 14, 2013 9:09 am<br>

Subject: [CMake] Cannot generate build files because of CPack related errors<br>

<br>









<div id="AOLMsgPart_0_4bd437a9-783a-481c-8eb8-a54f0bfd1147" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>Hi all,

I get the following two errors when I try to generate the Visual Studio 
2010 build files for MySQL Connector/C 6.0.2 with CMake 2.8.10.2 on 
Windows 7 x64.

CMake Error at C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CPack.cmake:395 (message):
   CPack package description file: "README" could not be found.
Call Stack (most recent call first):
   C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CPack.cmake:399 (cpack_check_file_exists)
   CMakeLists.txt:371 (INCLUDE)


CMake Error at C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CPack.cmake:395 (message):
   CPack license resource file: "LICENSE.mysql" could not be found.
Call Stack (most recent call first):
   C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CPack.cmake:400 (cpack_check_file_exists)
   CMakeLists.txt:371 (INCLUDE)

Since no MySQL specific files seem to be involved, I guess this is a 
problem with CPack. What goes wrong here???

Robert

--

Powered by <a __removedlink__1841300835__href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a __removedlink__1841300835__href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a __removedlink__1841300835__href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a __removedlink__1841300835__href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_4bd437a9-783a-481c-8eb8-a54f0bfd1147 -->



</div>

</font></font>