diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-10-12 15:38:12 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-10-12 17:17:21 -0700 |
commit | 2b085f956b7827fc67ea4415ebcbb50d47b85705 (patch) | |
tree | bd02da051c469ffbec604889d3b95727a2f5008e /examples | |
parent | 296dfaae4d138debf77e4a6769c770d5fb45bc4c (diff) |
cmake: Use the GNUInstallDirs module
This adds CMake options that are familiar to autoconf users, such as
CMAKE_INSTALL_LIBDIR. Portage's cmake.eclass expects these variables
to be supported.
This replaces the following CMake options. If the user specifies any of
the old options, then emit a fatal error.
waffle_install_includedir -> CMAKE_INSTALL_INCLUDEDIR
waffle_install_libdir -> CMAKE_INSTALL_LIBDIR
waffle_install_docdir -> CMAKE_INSTALL_DOCDIR
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 046af5f..eb09669 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,7 +1,7 @@ install(FILES Makefile.example gl_basic.c simple-x11-egl.c - DESTINATION ${waffle_install_docdir}/examples) + DESTINATION "${CMAKE_INSTALL_FULL_DOCDIR}/examples") # ---------------------------------------------------------------------------- # Target: simple-x11-egl (executable) |