Skip to content

Commit

Permalink
Devices library name fix: #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Artiom N. committed Dec 9, 2024
1 parent 93dc30d commit b21f810
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions knp/backends/cpu/cpu-devices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
# Required for the linters.
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

project(knp-devices VERSION "${KNP_VERSION}" LANGUAGES C CXX
project(knp-cpu-devices VERSION "${KNP_VERSION}" LANGUAGES C CXX
DESCRIPTION "Kaspersky Neuromorphic Platform device parameters library"
HOMEPAGE_URL "https://neuro.kaspersky.ru/neyromorfnye-tekhnologii/")

Expand All @@ -41,7 +41,7 @@ else()
set(${PROJECT_NAME}_CPU_SOURCE impl/unknown_cpu.cpp)
endif()

knp_add_library("${PROJECT_NAME}-cpu"
knp_add_library("${PROJECT_NAME}"
STATIC

${${PROJECT_NAME}_CPU_SOURCE}
Expand All @@ -54,7 +54,7 @@ knp_add_library("${PROJECT_NAME}-cpu"
)

set_target_properties(
"${PROJECT_NAME}-cpu"
"${PROJECT_NAME}"
PROPERTIES
VERSION "${CMAKE_PROJECT_VERSION}"
SOVERSION "${CMAKE_PROJECT_VERSION_MAJOR}")
Expand All @@ -63,8 +63,8 @@ set_target_properties(
if (KNP_INSTALL)
set(COMPONENT_NAME "cpp-framework")

install(TARGETS "${PROJECT_NAME}-cpu"
EXPORT "${PROJECT_NAME}-cpu"
install(TARGETS "${PROJECT_NAME}"
EXPORT "${PROJECT_NAME}"
COMPONENT "${COMPONENT_NAME}-dev"
ARCHIVE)

Expand Down

0 comments on commit b21f810

Please sign in to comment.