Skip to content

Commit

Permalink
Fix naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzw committed Jun 22, 2024
1 parent f86b53a commit 329d3ae
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cmake/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif ()
if (DEMO_ENABLE_CLANG_TIDY)
find_program(CLANG_TIDY_EXE NAMES "clang-tidy" REQUIRED)
list(TRANSFORM EXTRA_CLANG_TIDY_COMPILER_FLAGS PREPEND "EXTRA_CLANG_TIDY_COMPILER_FLAGS=")
set(CLANG_TIDY_COMMAND "${CMAKE_SOURCE_DIR}/clang-tidy-wrap" "${CLANG_TIDY_EXE}" ${EXTRA_CLANG_TIDY_COMPILER_FLAGS})
set(CLANG_TIDY_COMMAND "${CMAKE_SOURCE_DIR}/clang-tidy-wrap.py" "${CLANG_TIDY_EXE}" ${EXTRA_CLANG_TIDY_COMPILER_FLAGS})
endif ()

# function used to add a library with clang-tidy, sanitizers and coverage configure
Expand Down
2 changes: 1 addition & 1 deletion cmake/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ endfunction()
function(demo_check_public_header)
_demo_list_public_header(${CMAKE_SOURCE_DIR} HEADERS)
add_custom_target(check_public_header
COMMAND ${PROJECT_SOURCE_DIR}/check_header.py
COMMAND ${PROJECT_SOURCE_DIR}/check-header.py
${PROJECT_SOURCE_DIR}/src
${HEADERS}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
Expand Down

0 comments on commit 329d3ae

Please sign in to comment.