change install dir for local builds

Install local builds to /usr/sbin
instead of /usr/local/sbin.
This commit is contained in:
Christian Giese
2021-08-04 14:59:47 +02:00
parent 9dc24176b5
commit 353d3ce8d0
+2
View File
@@ -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)