Skip to content

Commit c431fd2

Browse files
committed
fix
1 parent 03edcdb commit c431fd2

File tree

21 files changed

+39
-39
lines changed

21 files changed

+39
-39
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ string(REGEX MATCH "YDB_SDK_VERSION = \"([0-9]+\\.[0-9]+\\.[0-9]+)\"" _ ${YDB_SD
55
set(YDB_SDK_VERSION ${CMAKE_MATCH_1})
66
message(STATUS "YDB С++ SDK version: ${YDB_SDK_VERSION}")
77

8-
project(ydb-cpp-sdk VERSION ${YDB_SDK_VERSION} LANGUAGES C CXX ASM)
8+
project(YDB-CPP-SDK VERSION ${YDB_SDK_VERSION} LANGUAGES C CXX ASM)
99

1010
option(YDB_SDK_INSTALL "Install YDB C++ SDK" Off)
1111
option(YDB_SDK_TESTS "Build YDB C++ SDK tests" Off)
@@ -79,7 +79,7 @@ if (YDB_SDK_INSTALL)
7979
install(EXPORT ydb-cpp-sdk-targets
8080
FILE ydb-cpp-sdk-targets.cmake
8181
CONFIGURATIONS RELEASE
82-
NAMESPACE ydb-cpp-sdk::
82+
NAMESPACE YDB-CPP-SDK::
8383
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ydb-cpp-sdk/release
8484
)
8585
configure_package_config_file(

cmake/common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function(resources Tgt Output)
173173
endfunction()
174174

175175
function(_ydb_sdk_make_client_component CmpName Tgt)
176-
add_library(ydb-cpp-sdk::${CmpName} ALIAS ${Tgt})
176+
add_library(YDB-CPP-SDK::${CmpName} ALIAS ${Tgt})
177177

178178
_ydb_sdk_install_targets(TARGETS ${Tgt} ${ARGN})
179179
set(YDB-CPP-SDK_AVAILABLE_COMPONENTS ${YDB-CPP-SDK_AVAILABLE_COMPONENTS} ${CmpName} CACHE INTERNAL "")

cmake/ydb-cpp-sdk-config.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(_find_ydb_sdk_component CompName)
4444
message(FATAL_ERROR "${CompName} is not available component")
4545
endif()
4646
list(GET YDB-CPP-SDK_COMPONENT_TARGETS ${CompId} Tgt)
47-
add_library(ydb-cpp-sdk::${CompName} ALIAS ydb-cpp-sdk::${Tgt})
47+
add_library(YDB-CPP-SDK::${CompName} ALIAS YDB-CPP-SDK::${Tgt})
4848
set(YDB-CPP-SDK_${CompName}_FOUND TRUE PARENT_SCOPE)
4949
endfunction()
5050

@@ -56,4 +56,4 @@ endforeach()
5656

5757
@PACKAGE_INIT@
5858

59-
check_required_components(ydb-cpp-sdk)
59+
check_required_components(YDB-CPP-SDK)

examples/basic_example/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ add_executable(basic_example)
33
target_link_libraries(basic_example PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Query
7-
ydb-cpp-sdk::Params
8-
ydb-cpp-sdk::Driver
6+
YDB-CPP-SDK::Query
7+
YDB-CPP-SDK::Params
8+
YDB-CPP-SDK::Driver
99
)
1010

1111
target_sources(basic_example PRIVATE

examples/bulk_upsert_simple/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(bulk_upsert_simple)
33
target_link_libraries(bulk_upsert_simple PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(bulk_upsert_simple PRIVATE

examples/pagination/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(pagination)
33
target_link_libraries(pagination PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(pagination PRIVATE

examples/secondary_index/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(secondary_index)
33
target_link_libraries(secondary_index PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(secondary_index PRIVATE

examples/secondary_index_builtin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_executable(secondary_index_builtin)
33
target_link_libraries(secondary_index_builtin PUBLIC
44
yutil
55
getopt
6-
ydb-cpp-sdk::Table
6+
YDB-CPP-SDK::Table
77
)
88

99
target_sources(secondary_index_builtin PRIVATE

examples/topic_reader/eventloop/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(persqueue_reader_eventloop)
22

33
target_link_libraries(persqueue_reader_eventloop PUBLIC
44
yutil
5-
ydb-cpp-sdk::Topic
5+
YDB-CPP-SDK::Topic
66
getopt
77
)
88

examples/topic_reader/simple/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(simple_persqueue_reader)
22

33
target_link_libraries(simple_persqueue_reader PUBLIC
44
yutil
5-
ydb-cpp-sdk::Topic
5+
YDB-CPP-SDK::Topic
66
getopt
77
)
88

0 commit comments

Comments
 (0)