From 544ad6f9759de6acc109307caee2100478cba8ed Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 6 Feb 2018 17:17:28 +0100 Subject: build: Use GNUInstallDirs instead of hardcoded values This changes the build to use GNUInstallDirs instead of hardcoded values. Package maintainers can then override these defaults by passing the correct value to cmake on the command line. Signed-off-by: Sander Vrijders --- include/ouroboros/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ouroboros/CMakeLists.txt') diff --git a/include/ouroboros/CMakeLists.txt b/include/ouroboros/CMakeLists.txt index d3b6e847..c0a83030 100644 --- a/include/ouroboros/CMakeLists.txt +++ b/include/ouroboros/CMakeLists.txt @@ -15,6 +15,6 @@ set(HEADER_FILES ${CMAKE_CURRENT_BINARY_DIR}/version.h ) -install(FILES ${HEADER_FILES} DESTINATION usr/include/ouroboros) +install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ouroboros) add_subdirectory(wrap) -- cgit v1.2.3