Skip to content
Snippets Groups Projects
  1. Apr 01, 2018
    • Christian Sharpsten's avatar
      Auto-detect install libdir to enable multi-arch debian builds (#345) · 3e67c1d4
      Christian Sharpsten authored
      When compiling on linux, use GNUInstallDirs to automatically determine
      the appropriate libdir path for multi-arch builds instead of hardcoding
      lib/ or lib64/. GNUInstallDirs should follow the FHS appropriately for
      non-debian platforms that place libs in lib64/. This also removes the
      need to specify `lib64` on the command line when building for a
      non-debian system that follows the linux FHS.
      
      When compiling with cmake directly on debian and specifying
      `-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_ARCHITECTURE=<arch>`, the
      libdir should be set to /usr/lib/<arch>/.
      3e67c1d4
  2. Jul 21, 2016
  3. Jul 19, 2016
Loading