diff --git a/knp/backends/cpu/cpu-devices/CMakeLists.txt b/knp/backends/cpu/cpu-devices/CMakeLists.txt index 1cb1182c..f22842dd 100644 --- a/knp/backends/cpu/cpu-devices/CMakeLists.txt +++ b/knp/backends/cpu/cpu-devices/CMakeLists.txt @@ -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/") @@ -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} @@ -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}") @@ -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)