From 3fc33131ac0dfdc9a61389e5614e597ff036466e Mon Sep 17 00:00:00 2001 From: Roland Schwan Date: Thu, 22 Feb 2024 17:12:12 +0100 Subject: [PATCH] fix c library naming --- interfaces/c/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/c/CMakeLists.txt b/interfaces/c/CMakeLists.txt index bb33f91..7a44ee5 100644 --- a/interfaces/c/CMakeLists.txt +++ b/interfaces/c/CMakeLists.txt @@ -13,7 +13,7 @@ target_include_directories(piqp_c_static PUBLIC $/${CMAKE_INSTALL_INCLUDEDIR}/piqp_c> ) target_link_libraries(piqp_c_static PRIVATE piqp_static) -set_target_properties(piqp_c_static PROPERTIES OUTPUT_NAME piqpc) +set_target_properties(piqp_c_static PROPERTIES OUTPUT_NAME piqpcstatic) add_library(piqp::piqp_c_static ALIAS piqp_c_static) add_library(piqp_c_shared SHARED src/piqp.cpp include/piqp.h) @@ -22,7 +22,7 @@ target_include_directories(piqp_c_shared PUBLIC $/${CMAKE_INSTALL_INCLUDEDIR}/piqp_c> ) target_link_libraries(piqp_c_shared PRIVATE piqp) -set_target_properties(piqp_c_shared PROPERTIES OUTPUT_NAME piqpcstatic) +set_target_properties(piqp_c_shared PROPERTIES OUTPUT_NAME piqpc) add_library(piqp::piqp_c_shared ALIAS piqp_c_shared) install(