From 9579d98691ee225564f72313c257848d226ae821 Mon Sep 17 00:00:00 2001 From: Robin Krens Date: Thu, 26 Jan 2023 16:01:11 +0100 Subject: [PATCH] cnmake: remove double lib naming --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fd6f5a..4f446fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.5) -project(libsi24 +project(si24 VERSION 0.30.0 LANGUAGES C ) @@ -8,9 +8,9 @@ set(PROJECT_HOMEPAGE_URL https://github.com/robinkrens/libsi24) add_compile_options(-Wall -Wextra -pedantic) -add_library(libsi24 libsi24.c) +add_library(si24 libsi24.c) -target_include_directories(libsi24 +target_include_directories(si24 PUBLIC $ $ @@ -20,7 +20,7 @@ target_include_directories(libsi24 include(GNUInstallDirs) -install(TARGETS libsi24 +install(TARGETS si24 EXPORT libsi24-export LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -- 2.7.4