From 81ec1ce66effda1ec0a7b4c5848ce284e9a1544f Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 19 Jan 2024 16:36:42 +0100 Subject: [PATCH] find library and add version for project --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6141aae..8fe3e2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 3.25.1) -project("kds_s2000w_net") +project("kds_s2000w_net" VERSION "0.0.1") + +find_library(SANE NAMES sane REQUIRED) add_library("sane-kds_s2000w_net" SHARED "src/kds_s2000w_net.c") -- 2.39.5