I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 using MacPorts cmake 2.8.7. I have found that "make install" does not actually install the project's header files.

When I tried to reproduce this on Linux (Fedora 16), it worked just fine; so it looks like this is a Mac-specific (or perhaps even more specific) problem.

I'm a total novice at CMake; but I see this in the top-level CMakeLists.txt:

INSTALL(DIRECTORY "include/"
        DESTINATION "include"
        FILES_MATCHING PATTERN "*.h")

Looking at

http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:install

... I don't see anything obviously wrong with that usage.

The package in question can be found here:

http://mysql.mirrors.pair.com/Downloads/Connector-C/mysql-connector-c-6.0.2.tar.gz


Braden
--

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

Reply via email to