On Sep 6, 2007, at 12:20 PM, email@example.com wrote:
Let CMake produce a special header file definining a string
The header is installed at $CMAKE_INSTALL_PREFIX/include/avogadro/
This allows applications using libavogadro to be aware of which
revision they are using.
This is a great idea, since it makes the About box more useful –
both the “install version” (e.g., 0.2) and the SVN build revision.
But when I tried it, on running cmake, it immediately tried to
install the header:
CMake Error: Could not open file for write in copy operation /usr/
CMake Error: : System Error: Permission denied
Shouldn’t we create a temporary svn.h in the libavogadro src/build
directories and install later? I think most people will be surprised
that they need to run cmake as root.