Thanks Eric, that helped! It also built without any errors (I didn't use
standard configuration but replaced all /MD with /MT and /MDd with /MTd).
Am 14.02.2013 19:55, schrieb Eric Noulard:
2013/2/14 David Cole <dlrd...@aol.com>:
Looks like the values of CPACK_RESOURCE_FILE_README and
CPACK_RESOURCE_FILE_LICENSE 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_CURRENT_SOURCE_DIR}/README" instead of "README".
David is right.
Source code is accessible here:
http://dev.mysql.com/downloads/connector/c/
Is that the problem? What are your values for those variables?
After changing
IF(EXISTS "COPYING")
SET(CPACK_RESOURCE_FILE_LICENSE "COPYING")
ELSE(EXISTS "COPYING")
SET(CPACK_RESOURCE_FILE_LICENSE "LICENSE.mysql")
ENDIF(EXISTS "COPYING")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "README")
to
IF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
ELSE(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.mysql")
ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README")
it can be configure, but then I have a bunch of compile error I do not have time
to investigate.
Note that the source tarball is polluted with a lot of cmake-generated file:
CMakeFiles, Makefile, cmake_install.cmake, ....
which looks seems to have been left over after an in-source build.
May be you should ask for a cleaner repackaging of this source tarball.
--
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