Commit efd65aebb2 ("build: cmake: add check-header target", 2023-11-13)
introduced three typos:
- In "cmake/check_headers.cmake", it checked whether the
"parsed_args_GLOB_RECURSE" argument was defined, but then it referenced
the same under the wrong name "parsed_args_RECURSIVE".
- The above error masked two further typos; namely the duplicate use of
"api" and "streaming" each, as targets. With "parsed_args_GLOB_RECURSE"
above fixed, CMake now reports these conflicting arguments (target
names). They should have been "node_ops" and "sstables", respectively.
Correct the typos.
Signed-off-by: Laszlo Ersek <laszlo.ersek@scylladb.com>
Closes scylladb/scylladb#20992
17 lines
335 B
CMake
17 lines
335 B
CMake
add_library(node_ops STATIC)
|
|
target_sources(node_ops
|
|
PRIVATE
|
|
node_ops_ctl.cc)
|
|
target_include_directories(node_ops
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(node_ops
|
|
PUBLIC
|
|
utils
|
|
Seastar::seastar
|
|
PRIVATE
|
|
service)
|
|
|
|
check_headers(check-headers node_ops
|
|
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)
|