[CMake] Cannot generate build files because of CPack related errors

Robert Hegner rhegner at hsr.ch
Thu Feb 14 09:04:09 EST 2013


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



More information about the CMake mailing list