Use GNUInstallDirs for install destinations

This has the advantage that the user may override e.g. the include
location, and the correct libdir (lib, lib64, lib/something) is
automatically determined.

Closes #1367.
This commit is contained in:
Rolf Eike Beer
2018-10-30 13:30:44 +01:00
committed by Camilla Löwy
parent df7f36a316
commit f9923e9095
4 changed files with 12 additions and 16 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib@LIB_SUFFIX@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
Name: GLFW
Description: A multi-platform library for OpenGL, window and input