From: Robin Krens Date: Thu, 26 Jan 2023 15:01:11 +0000 (+0100) Subject: cnmake: remove double lib naming X-Git-Url: https://robinkrens.nl/gitweb/?a=commitdiff_plain;h=9579d98691ee225564f72313c257848d226ae821;p=libsi24 cnmake: remove double lib naming --- 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}