Skip to content

Commit

Permalink
fix c library naming
Browse files Browse the repository at this point in the history
  • Loading branch information
RSchwan committed Feb 22, 2024
1 parent 4b43e4d commit 3fc3313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interfaces/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ target_include_directories(piqp_c_static PUBLIC
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${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)
Expand All @@ -22,7 +22,7 @@ target_include_directories(piqp_c_shared PUBLIC
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${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(
Expand Down

0 comments on commit 3fc3313

Please sign in to comment.