[CMake] Headers don't install on Mac OS X (mysql-connector-c)
Braden McDaniel
braden at endoframe.com
Thu Apr 26 14:16:51 EDT 2012
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
More information about the CMake
mailing list