From cbe713ee262e050e84ca49eb374c6229a5fd9453 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Thu, 18 Jan 2024 21:49:12 +0100 Subject: [PATCH] add install library --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad3a3df..4255dc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,4 +2,8 @@ cmake_minimum_required(VERSION 3.25.1) project("kds_s2000w_net") -add_library("sane-kds_s2000w_net" SHARED "src/kds_s2000w_net.c") \ No newline at end of file +add_library("sane-kds_s2000w_net" + SHARED "src/kds_s2000w_net.c") + +install(TARGETS "sane-kds_s2000w_net" + DESTINATION "/usr/lib/x86_64-linux-gnu/sane") \ No newline at end of file -- 2.39.5