If you come from an Autotools background, you are familiar
with options such as
that, when passed to the configure script,
enable fine tuning the installation layout. A similar
functionality is available with CMake:
Specifies the root directory of the installation (same as
correspond to the Autotools
options. A subtle difference is that
values should be paths relative to
enables choosing one of several predefined installation
STANDALONE layout is the same as in
packages. This is the default.
RPM layout is similar to RPM
packages. For example, mysqld is in
SVR4 is Solaris package layout.
DEB layout is as in DEB packages.
Here is an example how to modify
layout slightly and install libraries into the
lib64 subdirectory instead of the default
cmake .. -DINSTALL_LAYOUT=STANDALONE -DINSTALL_LIBDIR=lib64
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices