leftibot 21c815d676 Fix #631: Respect CMAKE_INSTALL_PREFIX and use GNUInstallDirs for install paths
The CMakeLists.txt used CMAKE_INSTALL_LIBDIR in install destinations without
including the GNUInstallDirs module, leaving the variable empty. This caused
libraries to install to absolute paths like /chaiscript instead of lib/chaiscript,
and the pkg-config file to install to /pkgconfig instead of lib/pkgconfig. The
chaiscript.pc.in template also hardcoded "lib" and "include" instead of using
the CMake variables. Added include(GNUInstallDirs) and updated the .pc.in
template to use @CMAKE_INSTALL_LIBDIR@ and @CMAKE_INSTALL_INCLUDEDIR@.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 11:41:50 -06:00
..
Catch.cmake Prep for moving to Catch2 official test parsing 2018-02-19 11:34:16 -07:00
CatchAddTests.cmake Move to official catch cmake support, update catch 2018-05-26 09:26:13 -06:00
check_pkgconfig.cmake Fix #631: Respect CMAKE_INSTALL_PREFIX and use GNUInstallDirs for install paths 2026-04-11 11:41:50 -06:00
ParseAndAddCatchTests.cmake Prep for moving to Catch2 official test parsing 2018-02-19 11:34:16 -07:00