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 --- src/irmd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irmd/CMakeLists.txt') diff --git a/src/irmd/CMakeLists.txt b/src/irmd/CMakeLists.txt index 51423621..51719dcf 100644 --- a/src/irmd/CMakeLists.txt +++ b/src/irmd/CMakeLists.txt @@ -48,7 +48,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Debug*") add_compile_flags(irmd -DCONFIG_OUROBOROS_DEBUG) endif () -install(TARGETS irmd RUNTIME DESTINATION sbin) +install(TARGETS irmd RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) # Enable once irmd has tests # add_subdirectory(tests) -- cgit v1.2.3