From 353d3ce8d04ced8d9415ec66540e57e2b8265b33 Mon Sep 17 00:00:00 2001 From: Christian Giese Date: Wed, 4 Aug 2021 14:59:47 +0200 Subject: [PATCH] change install dir for local builds Install local builds to /usr/sbin instead of /usr/local/sbin. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87fec812..aa6007a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ if(BNGBLASTER_TESTS) add_subdirectory(test) endif() +set(CMAKE_INSTALL_PREFIX /usr) + install(TARGETS bngblaster DESTINATION sbin) install(PROGRAMS bngblaster-cli DESTINATION sbin)