Skip to content

Commit 2098885

Browse files
committed
update
1 parent 8bddb8f commit 2098885

File tree

9 files changed

+26
-8
lines changed

9 files changed

+26
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ find_package(RocksDB REQUIRED)
7272
find_package(Json REQUIRED)
7373
find_package(MagicEnum REQUIRED)
7474
find_package(CLI11 REQUIRED)
75+
# find_package(Abseil REQUIRED)
7576

7677
# ============================================================================== #
7778
# source code

CMakePresets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"binaryDir": "${sourceDir}/build/debug",
4242
"cacheVariables": {
4343
"CMAKE_BUILD_TYPE": "Debug",
44-
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
44+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
45+
"CMAKE_FIND_DEBUG_MODE": "ON"
4546
}
4647
}
4748
]

play/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ add_executable(server
77
main.cc
88
)
99

10+
# if (TARGET absl::status)
11+
# message(WARNING "Target absl::status is available.")
12+
# endif()
13+
14+
# if (TARGET absl::status)
15+
# message(WARNING "Target absl::status is available.")
16+
# endif()
17+
1018
target_link_libraries(server
1119
PRIVATE
1220
absl::status

src/encode/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_library(small_encode
66
target_link_libraries(small_encode
77
PUBLIC
88
spdlog
9-
absl_status
9+
absl::status
1010
small::type
1111
)
1212

src/id/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ add_library(id_lib
66
target_link_libraries(id_lib
77
PUBLIC
88
spdlog
9-
absl_status
9+
absl::status
1010
)

src/insert/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_library(insert_lib
66
target_link_libraries(insert_lib
77
PUBLIC
88
spdlog
9-
absl_status
9+
absl::status
1010
libpg_query_lib
1111
arrow_lib
1212
small::rocks

src/query/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_library(query_lib
66
target_link_libraries(query_lib
77
PUBLIC
88
spdlog
9-
absl_status
9+
absl::status
1010
libpg_query_lib
1111
arrow_lib
1212
small::rocks

src/schema/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ target_link_libraries(small_schema
1010
PUBLIC
1111
rocksdb
1212
spdlog
13-
absl_status
13+
absl::status
1414
libpg_query_lib
1515
nlohmann_json::nlohmann_json
1616
small::rocks

test/parser/CMakeLists.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ add_library(parser_lib
33
parser.h
44
)
55

6+
# if (TARGET absl::status)
7+
# message(WARNING "Target absl::status is NOT available.")
8+
# endif()
9+
10+
# if (TARGET absl::status)
11+
# message(WARNING "Target absl::status is NOT available.")
12+
# endif()
13+
614
target_link_libraries(parser_lib
715
PRIVATE
816
spdlog
9-
absl_status
10-
absl_statusor
17+
absl::status
18+
absl::statusor
1119
absl::strings
1220
small::type
1321
)

0 commit comments

Comments
 (0)